[lkml]   [2012]   [Jan]   [6]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
    SubjectRe: [PATCH v2012.1] fs: symlink restrictions on sticky directories

    * Nick Bowler <> wrote:

    > > >> +     bool "Protect symlink following in sticky world-writable directories"
    > > >> +     default y
    > > > [...]
    > > >
    > > > Why do we need a config option for this?  What's wrong
    > > > with just using the sysctl?
    > >
    > > This way the sysctl can configured directly without needing
    > > to have a distro add a new item to sysctl.conf.
    > This seems totally pointless to me. [...]

    It's how we add new features typically. From a distro's POV
    .config's are a lot more durable than system specific

    User can of course still override via the sysctl.conf, but the
    kernel (and the distro) wants to provide a sane default that
    does not depend on userspace settings.

    Also, there are people who test new kernels but don't want to
    change the underlying distro. Twiddling such .config values is
    quite straightforward for them.

    > [...] There are tons of sysctls that don't have Kconfig
    > options: what makes this one special?

    Those are old mistakes we want to forget about.

    > > > Why have you made this option "default y", when enabling
    > > > it clearly makes user-visible changes to kernel behaviour?
    > >
    > > Ingo specifically asked me to make it "default y".
    > But this is a brand new feature that changes longstanding
    > behaviour of various syscalls. Making it default to enabled
    > is rather mean to users (since it will tend to get enabled by
    > "oldconfig") and seems almost guaranteed to cause regressions.

    The changelog of the feature (which feature has been in use for
    years in various [admittedly smaller] distros) says that it does
    not break apps.

    Worth a try: it will be very easy to flip it back if it causes a
    regression - but we'd like it to have at least *some* testing in
    the merge window to see whether there *is* some broken (or not
    so broken) app that relies on the current semantics.


    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to
    More majordomo info at
    Please read the FAQ at

     \ /
      Last update: 2012-01-06 08:15    [W:0.027 / U:4.560 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site