> /* Clear the capabilities if we switch to a non-root user */
> if (current->uid)
> cap_clear(current->cap_effective);
> else
> current->cap_effective = current->cap_permitted;
This is a bug. We now have capability flags to indicate 'capability aware'
applications and these should be getting checked as they now do in
setuid and friends
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/
This archive was generated by hypermail 2b29 : Tue May 23 2000 - 21:00:25 EST