Re: [PATCH] sysctl: Deprecate sys_sysctl in a user space visible fashion.

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: H. Peter Anvin
Date: Sunday, September 2, 2007 - 1:54 am

Rob Landley wrote:

IMO, the big problem with /proc/sys (and, for that matter, /sys) is 
mainly that they have to live in the process namespace, which is highly 
awkward when one uses chroot().

One way to solve *that* might be a system call to get a file descriptor 
to the root of sysfs or procsysfs which can be used with openat().  That 
has its own perils, of course...

	-hpa
-
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[PATCH] sysctl: Deprecate sys_sysctl in a user space visib ..., Eric W. Biederman, (Tue Aug 28, 3:40 pm)
Re: [PATCH] sysctl: Deprecate sys_sysctl in a user space v ..., Christoph Hellwig, (Tue Aug 28, 4:04 pm)
Re: [PATCH] sysctl: Deprecate sys_sysctl in a user space v ..., Eric W. Biederman, (Tue Aug 28, 4:53 pm)
Re: [PATCH] sysctl: Deprecate sys_sysctl in a user space v ..., Eric W. Biederman, (Tue Aug 28, 6:56 pm)
Re: [PATCH] sysctl: Deprecate sys_sysctl in a user space v ..., Eric W. Biederman, (Tue Aug 28, 10:24 pm)
Re: [PATCH] sysctl: Deprecate sys_sysctl in a user space v ..., Eric W. Biederman, (Wed Aug 29, 10:16 am)
Re: [PATCH] sysctl: Deprecate sys_sysctl in a user space v ..., Eric W. Biederman, (Wed Aug 29, 12:00 pm)
Re: [PATCH] sysctl: Deprecate sys_sysctl in a user space v ..., Eric W. Biederman, (Thu Aug 30, 10:40 am)
Re: [PATCH] sysctl: Deprecate sys_sysctl in a user space v ..., Christoph Hellwig, (Thu Aug 30, 11:34 am)
Re: [PATCH] sysctl: Deprecate sys_sysctl in a user space v ..., Eric W. Biederman, (Thu Aug 30, 11:57 am)
Re: [PATCH] sysctl: Deprecate sys_sysctl in a user space v ..., H. Peter Anvin, (Sun Sep 2, 1:54 am)
Re: [PATCH] sysctl: Deprecate sys_sysctl in a user space v ..., Eric W. Biederman, (Sun Sep 2, 12:56 pm)