Re: quotactl permissions

2012-09-05 Thread David Holland
On Wed, Sep 05, 2012 at 06:40:22AM +0200, Emmanuel Dreyfus wrote: Sure, but regardless of where that other check is implemented, it seems like it might be wrong, since it's checking the real uid, not the effective uid. That would be nice to have a fix for that in 6.0. The thing

NetBSD port for AT91SAM9G20?

2012-09-05 Thread Jukka Marin
Hi, I have asked this before, but got no replies. We are making AT91SAM9G20 based hardware and I would love to run NetBSD on it. However, I can't find the time to port NetBSD to this MCU and hardware. Is there anyone with some spare time and interest in this kind of a project? I could provide

Re: swapcontext vs libpthread, round 10

2012-09-05 Thread Emmanuel Dreyfus
On Wed, Sep 05, 2012 at 04:42:57PM +1000, matthew green wrote: the right place to document this is in the source code, not in the public documentation. please move or delete this. The flags are documented in source code. However since we named the field uc_flags and not _uc_flags, one could

Re: quotactl permissions

2012-09-05 Thread Emmanuel Dreyfus
On Wed, Sep 05, 2012 at 06:37:27AM +, David Holland wrote: Changing it to effective uid seems like a good plan. The change below fixes the test case. Is it safe to commit? Index: sys/ufs/ufs/ufs_quota.c === RCS file:

Re: NetBSD port for AT91SAM9G20?

2012-09-05 Thread Warner Losh
On Sep 5, 2012, at 12:43 AM, Jukka Marin wrote: Hi, I have asked this before, but got no replies. We are making AT91SAM9G20 based hardware and I would love to run NetBSD on it. However, I can't find the time to port NetBSD to this MCU and hardware. Is there anyone with some spare time

Re: quotactl permissions

2012-09-05 Thread Christos Zoulas
In article 20120905123416.gb10...@homeworld.netbsd.org, Emmanuel Dreyfus m...@netbsd.org wrote: On Wed, Sep 05, 2012 at 06:37:27AM +, David Holland wrote: Changing it to effective uid seems like a good plan. The change below fixes the test case. Is it safe to commit? Yes, but it should all

Re: quotactl permissions

2012-09-05 Thread Thor Lancelot Simon
On Wed, Sep 05, 2012 at 12:34:16PM +, Emmanuel Dreyfus wrote: On Wed, Sep 05, 2012 at 06:37:27AM +, David Holland wrote: Changing it to effective uid seems like a good plan. The change below fixes the test case. Is it safe to commit? It fixes the test case, but it is still wrong.

Re: quotactl permissions

2012-09-05 Thread Eric Haszlakiewicz
On Wed, Sep 05, 2012 at 10:54:43AM -0400, Thor Lancelot Simon wrote: On Wed, Sep 05, 2012 at 12:34:16PM +, Emmanuel Dreyfus wrote: On Wed, Sep 05, 2012 at 06:37:27AM +, David Holland wrote: Changing it to effective uid seems like a good plan. The change below fixes the test

Re: quotactl permissions

2012-09-05 Thread David Holland
On Wed, Sep 05, 2012 at 12:00:47PM -0500, Eric Haszlakiewicz wrote: Changing it to effective uid seems like a good plan. The change below fixes the test case. Is it safe to commit? It fixes the test case, but it is still wrong. This UID check needs to be implemented in the

Re: quotactl permissions

2012-09-05 Thread Eric Haszlakiewicz
On Wed, Sep 05, 2012 at 05:10:33PM +, David Holland wrote: On Wed, Sep 05, 2012 at 12:00:47PM -0500, Eric Haszlakiewicz wrote: Changing it to effective uid seems like a good plan. The change below fixes the test case. Is it safe to commit? It fixes the test case, but

Re: quotactl permissions

2012-09-05 Thread David Holland
On Wed, Sep 05, 2012 at 12:14:11PM -0500, Eric Haszlakiewicz wrote: Changing it to effective uid seems like a good plan. The change below fixes the test case. Is it safe to commit? It fixes the test case, but it is still wrong. This UID check needs to be

Re: NetBSD port for AT91SAM9G20?

2012-09-05 Thread Warner Losh
On Sep 5, 2012, at 11:50 AM, vinc...@labri.fr wrote: Warner Losh i...@bsdimp.com writes: On Sep 5, 2012, at 12:43 AM, Jukka Marin wrote: The main features of our current hardware are: - AT91SAM9G20 MCU (400 MHz) [...] Apart from a few clocks, this should work with the AT91SAM9260

Re: NetBSD port for AT91SAM9G20?

2012-09-05 Thread vincent
Warner Losh i...@bsdimp.com writes: On Sep 5, 2012, at 12:43 AM, Jukka Marin wrote: The main features of our current hardware are: - AT91SAM9G20 MCU (400 MHz) [...] Apart from a few clocks, this should work with the AT91SAM9260 support that's in the tree. The device tables/trees are the

Re: swapcontext vs libpthread, round 10

2012-09-05 Thread Klaus Klein
On Wed, Sep 05, 2012 at 09:08:56AM +, Emmanuel Dreyfus wrote: On Wed, Sep 05, 2012 at 04:42:57PM +1000, matthew green wrote: the right place to document this is in the source code, not in the public documentation. please move or delete this. Indeed. The flags are documented in source

Re: [PATCH] swapcontext vs libpthread, round 9

2012-09-05 Thread YAMAMOTO Takashi
hi, On Fri, Aug 31, 2012 at 04:45:48PM +, Emmanuel Dreyfus wrote: After a few round behind the scenes with portmasters (Hi Nick, hi Martin!), here is the latest incarnation of swpacontext vs libpthread patch. If there are no concerns left, I plan to commit within 2 days. I still