make clean fails to rm /usr/src/contrib/groff/src/include/defs.h

2010-05-17 Thread Julian H. Stacey
Hi Hackers, I just filed a send-pr on a bug, if someone writes a fix, please send-pr to http://www.freebsd.org/cgi/query-pr.cgi?pr=146682 No patch, sorry, about to travel. Below a vebatim copy of what I sent. ( It may need some discussion before a fix, hence I did not CC hackers@

Re: hifn(4) DMA fix for review

2010-05-17 Thread Oleksandr Tymoshenko
On 2010-05-10, at 8:23 AM, Sam Leffler wrote: > > On May 7, 2010, at 12:13 PM, Oleksandr Tymoshenko wrote: > >> Proposed patch addresses hifn(4) problems on FreeBSD/mips. Current >> implementation keeps some of the state information (indexes in >> buffers, etc) in DMA-mapped memory and bus_dm

Re: Efficient way to determine when a child process forks or calls exec

2010-05-17 Thread Fernando Gleiser
- Original Message > From: Dan McNulty > To: freebsd-hackers@freebsd.org > Sent: Mon, May 17, 2010 11:33:31 AM > Subject: Efficient way to determine when a child process forks or calls exec > > Hi all, >I have been experimenting with ptrace to determine when a > child process forks

Re: Efficient way to determine when a child process forks or calls exec

2010-05-17 Thread jhell
On 05/17/2010 10:33, Dan McNulty wrote: > Hi all, > > I have been experimenting with ptrace to determine when a child > process forks or calls exec. Particularly, I have explored tracing > every system call entry and exit similar to what the truss utility > does, and for my case, the performance i

Re: adding "check option to md5(1) [was: md5(1) and cal(1) on -questions]

2010-05-17 Thread jhell
On 05/12/2010 04:01, Eitan Adler wrote: >> D> 2. Why doesn't md5(1) have a "check" option? Seems to me requiring a >> D> manual inspection is error-prone at best, and makes scripting >> D> unecessarily complicated. > > Would something like the attached patch be good? > It adds a -c option for a s

Efficient way to determine when a child process forks or calls exec

2010-05-17 Thread Dan McNulty
Hi all, I have been experimenting with ptrace to determine when a child process forks or calls exec. Particularly, I have explored tracing every system call entry and exit similar to what the truss utility does, and for my case, the performance impact of tracing every system call is too great. Is

Re: /dev/null & zero inside chroot for make release

2010-05-17 Thread Kostik Belousov
On Mon, May 17, 2010 at 12:20:07PM +0200, Bernd Walter wrote: > On Sat, May 15, 2010 at 05:32:41PM +0200, Tjado M?cke wrote: > > > > > Thanks for trying to help :-) But this is in Wrong. > > > Line 4 on that page: > > > Last updated: 2005-08-11 > > > 5 years later, FreeBSD-8.0 has via ls -l /de

Re: /dev/null & zero inside chroot for make release

2010-05-17 Thread Bernd Walter
On Sat, May 15, 2010 at 05:32:41PM +0200, Tjado Mäcke wrote: > > > Thanks for trying to help :-) But this is in Wrong. > > Line 4 on that page: > > Last updated: 2005-08-11 > > 5 years later, FreeBSD-8.0 has via ls -l /dev/null > > crw-rw-rw- 1 root wheel0, 31 May 15 14:17 /dev/null >