> > across AF_UNIX sockets so the mechanism is notionally there to provide the > > credentials to X, just not to use them > > The problem is that there is no way to keep track of them afterwards. If you use mmap for your allocator then beancounter will get it right. Every resource knows which beancounter it was charged too. It adds an overhead the average desktop user won't like but which is pretty much essential to do real mainframe world operation. So it would become seteuid(Client->passed_euid); mmap(buffer in pages) seteuid(getuid()); With lightwait counting semantics its hard to make any tracking system work well in the corner cases like resources that survive process death. Alan - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] Please read the FAQ at http://www.tux.org/lkml/
- Re: [PATCH] VM fix for 2.4.0-test9 & OOM handler Linus Torvalds
- Re: [PATCH] VM fix for 2.4.0-test9 & OOM handler Jim Gettys
- Re: [PATCH] VM fix for 2.4.0-test9 & OOM handler Albert D. Cahalan
- Re: [PATCH] VM fix for 2.4.0-test9 & OOM handler Rik van Riel
- Re: [PATCH] VM fix for 2.4.0-test9 & OOM handler Jim Gettys
- Re: [PATCH] VM fix for 2.4.0-test9 & OOM handler Olaf Titz
- Re: [PATCH] VM fix for 2.4.0-test9 & OOM handler Miles Lane
- Re: [PATCH] VM fix for 2.4.0-test9 & OOM handler Jamie Lokier
- Re: [PATCH] VM fix for 2.4.0-test9 & OOM handler Rogier Wolff
- Re: [PATCH] VM fix for 2.4.0-test9 & OOM handler Linus Torvalds
- Re: [PATCH] VM fix for 2.4.0-test9 & OOM handler Alan Cox
- Re: [PATCH] VM fix for 2.4.0-test9 & OOM handler bert hubert
- Re: [PATCH] VM fix for 2.4.0-test9 & OOM handler Rik van Riel
- Re: [PATCH] VM fix for 2.4.0-test9 & OOM handler Jim Gettys
- Re: [PATCH] VM fix for 2.4.0-test9 & OOM handler Rik van Riel
- Re: [PATCH] VM fix for 2.4.0-test9 & OOM handler Gerrit . Huizenga
- Re: [PATCH] VM fix for 2.4.0-test9 & OOM handler Byron Stanoszek
- Re: [PATCH] VM fix for 2.4.0-test9 & OOM handler Rik van Riel
- [RFC] New ideas for the OOM handler Byron Stanoszek
- Re: [PATCH] VM fix for 2.4.0-test9 & OOM handler Andrea Arcangeli
- Re: [PATCH] VM fix for 2.4.0-test9 & OOM handler Rik van Riel