Re: normal users calling setpriority(2)

2008-04-10 Thread Marc Olzheim
On Tue, Apr 08, 2008 at 10:02:03AM -0700, LI Xin wrote: Aryeh M. Friedman wrote: Is it possible via sysctl or some other method to allow non-superusers to set any priority they want. The specific question is I often want to set idprio 31 on stuff but don't want to switch to root to do it

Re: Re: C++ exceptions are broken in FreeBSD with gcc-compiled code?

2008-04-10 Thread Sergey Babkin
Oh, this reminded me of something I've seen before. In some version of GCC (3.96? 4.something?) if you declare a function with an explicit throw() declaration and then throw from it an exception that is not in the declaration, the exception never gets caught. It just goes all the way out. Any

Re: C++ exceptions are broken in FreeBSD with gcc-compiled code?

2008-04-10 Thread Dirk GOUDERS
Oh, this mail reminds me... I am not able to reproduce the problem here; I will compile the updated sources tonight to check if that changes anything: ...that I forgot to report that I did a cvsup and rebuild the system (7.0-STABLE), tonight. That did not change anything: I am not able to

mtree acl [patch]

2008-04-10 Thread Andrew Pantyukhin
I was surprised to learn that ACL support in our mtree is limited to a shy mention here: http://www.freebsd.org/news/status/report-dec-2001-jan-2002.html#TrustedBSD-ACLs Would something like the patch attached be feasible? I can add support for default lists, maybe restoring, etc., if the overall

Re: mtree acl [patch]

2008-04-10 Thread Andrew Pantyukhin
On Thu, Apr 10, 2008 at 10:04:38PM -0700, Tim Kientzle wrote: Andrew Pantyukhin wrote: ... ACL support in our mtree ... Also here: http://heka.cenkes.org/sat/diffs/mtree_acl.diff Could you give an example of a short mtree file that includes ACLs? I see a few minor style issues (tag names

Re: mtree acl [patch]

2008-04-10 Thread Tim Kientzle
Andrew Pantyukhin wrote: ... ACL support in our mtree ... Also here: http://heka.cenkes.org/sat/diffs/mtree_acl.diff Could you give an example of a short mtree file that includes ACLs? I see a few minor style issues (tag names should be sorted on the mtree.5 and mtree.8 man pages, you need to