Re: Background processes setting O_NONBLOCK on ttys

2005-01-13 Thread Stephen McKay
On Thursday, 13th January 2005, Peter Jeremy wrote: >On Wed, 2005-Jan-12 23:54:38 +1000, Stephen McKay wrote: >>a) Rewrite file descriptor handling in libc_r so it does not set O_NONBLOCK >>on tty file descriptors unless it is in the foreground. I don't know how >>hard this would be, or whether i

Re: Background processes setting O_NONBLOCK on ttys

2005-01-13 Thread Jilles Tjoelker
On Thu, Jan 13, 2005 at 06:47:21PM +1100, Peter Jeremy wrote: > On Wed, 2005-Jan-12 23:54:38 +1000, Stephen McKay wrote: > >c) Make O_NONBLOCK be per file descriptor (like FD_CLOEXEC). Thus, > >descriptors produced from dup() (for example) would have their own O_NONBLOCK > >flag, just as two descr

Re: Background processes setting O_NONBLOCK on ttys

2005-01-13 Thread Stephen McKay
On Thursday, 13th January 2005, Jilles Tjoelker wrote: >POSIX states that the O_NONBLOCK flag is per open file description. File >descriptors created with dup(2), fork(2) or similar methods share the >same open file description, while new descriptors created with open(2) >do not. Can you quote ch

FreeBSD 5.3 and some stranges logging in /var/log/messages

2005-01-13 Thread Vyacheslav Druzhinin
Hello freebsd-hackers, I use FreeBSD 5.3-RELEASE-p4, builded with ipfw support options IPFIREWALL options IPFIREWALL_VERBOSE options IPDIVERT some times I see some strange messages in /var/log/messages, like this: -- cut Jan 12 10:01:30 ns kernel: vJan 12 10:01:30 ns k

Re: Module getting loaded although init fuction returns error

2005-01-13 Thread Daniel O'Connor
On Thu, 13 Jan 2005 18:12, Tejas Sumant wrote: > I am working on a FreeBSD loadable module. > > While loading if I encounter any error I just have returned ENXIO error. > > I run commond kldstat after kldload. > > What I observed was kldstat still shows my module in the list of loaded > modules. >

Re: process checkpoint restore facility now in DragonFly BSD

2005-01-13 Thread Allan Fields
On Wed, Jan 12, 2005 at 01:40:02PM -0800, Brooks Davis wrote: > On Wed, Jan 12, 2005 at 02:17:38PM -0700, Siddharth Aggarwal wrote: > > > > I am responding to a post back in Oct 2003 when the checkpointing feature > > was announced for DragonFly. I have been doing some research on this, and > > ha

Re: process checkpoint restore facility now in DragonFly BSD

2005-01-13 Thread Kamal R. Prasad
--- Allan Fields <[EMAIL PROTECTED]> wrote: > On Wed, Jan 12, 2005 at 01:40:02PM -0800, Brooks > Davis wrote: > > On Wed, Jan 12, 2005 at 02:17:38PM -0700, > Siddharth Aggarwal wrote: > > > > > > I am responding to a post back in Oct 2003 when > the checkpointing feature > > > was announced for

Re: process checkpoint restore facility now in DragonFly BSD

2005-01-13 Thread Zaphod Beeblebrox
Having a process (or full system) checkpoint facility would make the implementation of suspend-to-disk rather trivial --- which is a much desired feature. ___ freebsd-hackers@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-hacke

Re: process checkpoint restore facility now in DragonFly BSD

2005-01-13 Thread Peter Kieser
freebsd-hackers != DragonFly BSD Mailing List... --Peter Siddharth Aggarwal wrote: Hi all, I am responding to a post back in Oct 2003 when the checkpointing feature was announced for DragonFly. I have been doing some research on this, and have seen some projects that use Xen VMM to achieve checkpoi