My proposal for a new feature in Linux kernel

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



So my final proposal:

struct full_sockaddr_t {
  struct sockaddr *ADDR;
  socklen_t LENGTH;
};

// Syscall
int selinux_restrict_domains(struct full_sockaddr_t *socks, unsigned int num_socks);

This call would restrict the sockets accessed by a process (and its childs) to the specified array of socket addresses.

For security reasons it should be impossible to add more hosts to this list. (We may allow to further restrict.)

Please implement it in Linux kernel.

-- 
Victor Porton - http://portonvictor.org
_______________________________________________
Selinux mailing list
Selinux@xxxxxxxxxxxxx
To unsubscribe, send email to Selinux-leave@xxxxxxxxxxxxx.
To get help, send an email containing "help" to Selinux-request@xxxxxxxxxxxxx.




[Index of Archives]     [Selinux Refpolicy]     [Linux SGX]     [Fedora Users]     [Fedora Desktop]     [Yosemite Photos]     [Yosemite Camping]     [Yosemite Campsites]     [KDE Users]     [Gnome Users]

  Powered by Linux