On Tue, Apr 22, 2014 at 11:11 AM, Andrew Morton
wrote:
> On Mon, 21 Apr 2014 21:52:48 -0700 Kees Cook wrote:
>
>> >> This provides CONFIG_PROC_SYSCTL_STRICT_WRITES as a way to make this
>> >> behavior act in a less surprising manner for strings, and disallows
>> >> non-zero file position when
On Mon, 21 Apr 2014 21:52:48 -0700 Kees Cook wrote:
> >> This provides CONFIG_PROC_SYSCTL_STRICT_WRITES as a way to make this
> >> behavior act in a less surprising manner for strings, and disallows
> >> non-zero file position when writing numeric sysctls (similar to what is
> >> already done
On Mon, 21 Apr 2014 21:52:48 -0700 Kees Cook keesc...@chromium.org wrote:
This provides CONFIG_PROC_SYSCTL_STRICT_WRITES as a way to make this
behavior act in a less surprising manner for strings, and disallows
non-zero file position when writing numeric sysctls (similar to what is
On Tue, Apr 22, 2014 at 11:11 AM, Andrew Morton
a...@linux-foundation.org wrote:
On Mon, 21 Apr 2014 21:52:48 -0700 Kees Cook keesc...@chromium.org wrote:
This provides CONFIG_PROC_SYSCTL_STRICT_WRITES as a way to make this
behavior act in a less surprising manner for strings, and disallows
On Mon, Apr 21, 2014 at 3:45 PM, Andrew Morton
wrote:
> On Thu, 17 Apr 2014 17:16:22 -0700 Kees Cook wrote:
>
>> When writing to a sysctl string, each write, regardless of VFS position,
>> begins writing the string from the start. This means the contents of
>> the last write to the sysctl
On Thu, 17 Apr 2014 17:16:22 -0700 Kees Cook wrote:
> When writing to a sysctl string, each write, regardless of VFS position,
> begins writing the string from the start. This means the contents of
> the last write to the sysctl controls the string contents instead of
> the first:
>
>
On Thu, 17 Apr 2014 17:16:22 -0700 Kees Cook keesc...@chromium.org wrote:
When writing to a sysctl string, each write, regardless of VFS position,
begins writing the string from the start. This means the contents of
the last write to the sysctl controls the string contents instead of
the
On Mon, Apr 21, 2014 at 3:45 PM, Andrew Morton
a...@linux-foundation.org wrote:
On Thu, 17 Apr 2014 17:16:22 -0700 Kees Cook keesc...@chromium.org wrote:
When writing to a sysctl string, each write, regardless of VFS position,
begins writing the string from the start. This means the contents
When writing to a sysctl string, each write, regardless of VFS position,
begins writing the string from the start. This means the contents of
the last write to the sysctl controls the string contents instead of
the first:
open("/proc/sys/kernel/modprobe", O_WRONLY) = 1
write(1,
When writing to a sysctl string, each write, regardless of VFS position,
begins writing the string from the start. This means the contents of
the last write to the sysctl controls the string contents instead of
the first:
open(/proc/sys/kernel/modprobe, O_WRONLY) = 1
write(1,
10 matches
Mail list logo