Messages in this thread | | | Date | Tue, 14 Sep 2004 23:12:19 +0200 | From | Roger Luethi <> | Subject | Re: [1/1][PATCH] nproc v2: netlink access to /proc information |
| |
On Tue, 14 Sep 2004 12:05:09 -0700, Chris Wright wrote: > Understood. Question is, if the request is for data that's associated > with a task that is in the middle of an execve(setuid_root_app), does > the credential-check/skb-fill for response happen atomically w.r.t. said > execve? IOW, is it possible to pass credential check, then fill data > that's become sensitive since the check happened?
It shouldn't be once we implement access control. I don't pretend to know what the best way is to prevent that. Checking several times just shrinks the race window, so I suppose we'd have to lock the source data structures down prior to checking credentials and copying data.
Roger - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |