Re: RFC: disablenetwork facility. (v4)

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Al Viro
Date: Sunday, December 27, 2009 - 1:51 am

On Sun, Dec 27, 2009 at 05:36:48PM +0900, Tetsuo Handa wrote:


Aren't you forgetting about libc?  Seriously, any interface along the
lines of "pass a set of syscall numbers to kernel" is DOA:
	* syscall numbers are architecture-dependent
	* there are socketcall-style multiplexors (sys_ipc, anyone?)
	* libc is free to substitute one for another
	* libc is free to do so in arch-specific manner
	* libc is free to do so in kernel-revision-specific manner
	* libc is free to do so in libc-revision-specific manner
(... and does all of the above)
	* new syscalls get added
	* e.g. on sparc64 32bit task can issue 64bit syscalls
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
RFC: disablenetwork facility. (v4), Michael Stone, (Sat Dec 26, 6:04 pm)
[PATCH 1/3] Security: Add disablenetwork interface. (v4), Michael Stone, (Sat Dec 26, 6:06 pm)
[PATCH 3/3] Security: Document disablenetwork. (v4), Michael Stone, (Sat Dec 26, 6:07 pm)
Re: [PATCH 3/3] Security: Document disablenetwork. (v4), Tetsuo Handa, (Sat Dec 26, 6:39 pm)
Re: [PATCH 1/3] Security: Add disablenetwork interface. (v4), Serge E. Hallyn, (Sat Dec 26, 8:26 pm)
Re: RFC: disablenetwork facility. (v4), Tetsuo Handa, (Sun Dec 27, 1:36 am)
Re: RFC: disablenetwork facility. (v4), Pavel Machek, (Sun Dec 27, 1:38 am)
Re: RFC: disablenetwork facility. (v4), Al Viro, (Sun Dec 27, 1:51 am)
Re: RFC: disablenetwork facility. (v4), Valdis.Kletnieks, (Sun Dec 27, 4:23 am)
Re: RFC: disablenetwork facility. (v4), Tetsuo Handa, (Sun Dec 27, 4:49 am)
Re: RFC: disablenetwork facility. (v4), Al Viro, (Sun Dec 27, 5:18 am)
Re: RFC: disablenetwork facility. (v4), Andi Kleen, (Sun Dec 27, 5:45 am)
Re: RFC: disablenetwork facility. (v4), Serge E. Hallyn, (Sun Dec 27, 8:03 am)
Re: RFC: disablenetwork facility. (v4), Pavel Machek, (Sun Dec 27, 12:08 pm)
Re: RFC: disablenetwork facility. (v4), Serge E. Hallyn, (Mon Dec 28, 11:13 am)
Re: [PATCH 1/3] Security: Add disablenetwork interface. (v4), Serge E. Hallyn, (Mon Dec 28, 11:13 am)
Re: [PATCH 1/3] Security: Add disablenetwork interface. (v4), Serge E. Hallyn, (Wed Dec 30, 11:47 am)