Re: Kylix in FreeBSD

2003-11-10 Thread andi payn
On Thu, 2003-11-06 at 06:09, Marco van de Voort wrote: > > * jasaorp <[EMAIL PROTECTED]> [031031 04:59]: > > Getting the Kylix IDE to function on FreeBSD has been one of the ongoing > > hair-pulling tasks I undertake every few months. The installer alone is > > a pain in the ass, since it performs

Re: O_NOACCESS?

2003-11-01 Thread andi payn
On Sat, 2003-11-01 at 13:44, Terry Lambert wrote: > "M. Warner Losh" wrote: > > Rewind units on tape drives? If there's no access check done, and I > > open the rewind unit as joe-smoe? The close code is what does the > > rewind, and you don't have enough knowledge to know if the tape was > > ope

Re: O_NOACCESS?

2003-11-01 Thread andi payn
On Sat, 2003-11-01 at 13:39, Terry Lambert wrote: > andi payn wrote: > > Now hold on. The standard (by which I you mean POSIX? or one of the UNIX [...] > A strictly conforming implementation can not expose things into > the namespace that are not defined by the standard to be in

Re: O_NOACCESS?

2003-10-31 Thread andi payn
ng able to kqueue-monitor any vnode you can stat) also still sounds like a good one to me. However, if nobody agrees, I'll drop it. Meanwhile: On Fri, 2003-10-31 at 13:29, M. Warner Losh wrote: > In message: <[EMAIL PROTECTED]> > andi payn <[EMAIL PROTECTED]> wri

Re: O_NOACCESS?

2003-10-31 Thread andi payn
On Fri, 2003-10-31 at 12:02, M. Warner Losh wrote: > In message: <[EMAIL PROTECTED]> > andi payn <[EMAIL PROTECTED]> writes: > : On Fri, 2003-10-31 at 08:27, David Malone wrote: > : > On Thu, Oct 30, 2003 at 07:46:38AM -0800, andi payn wrote: > : > >

Re: kevent and related stuff

2003-10-31 Thread andi payn
On Fri, 2003-10-31 at 01:44, Terry Lambert wrote: > andi payn wrote: > > First, some background: On Irix and Linux, fam works by asking the > > kernel to send it a signal whenever the specified accesses occur. On > > FreeBSD, since there is no imon interface and no dnotify

Re: kevent and related stuff

2003-10-31 Thread andi payn
On Thu, 2003-10-30 at 22:33, Ruben de Groot wrote: > On Thu, Oct 30, 2003 at 07:54:07AM -0800, andi payn typed: > > [...] > > > * I think (but I'm not sure) that kevent doesn't notify at all if the > > only change to a file is its ATIME. If I'm right, this

Re: O_NOACCESS?

2003-10-31 Thread andi payn
On Fri, 2003-10-31 at 08:27, David Malone wrote: > On Thu, Oct 30, 2003 at 07:46:38AM -0800, andi payn wrote: > > In FreeBSD, this doesn't work; you just get EINVAL. > > I believe this is because of a security problem discovered a few > years ago, where you could open

Re: O_NOACCESS?

2003-10-31 Thread andi payn
On Fri, 2003-10-31 at 01:19, Terry Lambert wrote: > andi payn wrote: > > As far as I can tell, FreeBSD doesn't have anything equivalent to > > linux's O_NOACCESS (which is not in any of the standard headers, but > > it's equal to O_WRONLY | O_RDWR, or O_ACCMODE

Re: O_NOACCESS?

2003-10-30 Thread andi payn
On Thu, 2003-10-30 at 07:46, andi payn wrote: > As far as I can tell, FreeBSD doesn't have anything equivalent to > linux's O_NOACCESS (which is not in any of the standard headers, but > it's equal to O_WRONLY | O_RDWR, or O_ACCMODE). In linux, this can be > used to s

kevent and related stuff

2003-10-30 Thread andi payn
First, let me mention that I'm not nearly as experienced coding for *BSD as for linux, so I may ask some stupid questions. I've been looking at the fam port, and this has brought up a whole slew of questions. I'm not sure if all of them are appropriate to this list, but I don't know who else to as

O_NOACCESS?

2003-10-30 Thread andi payn
As far as I can tell, FreeBSD doesn't have anything equivalent to linux's O_NOACCESS (which is not in any of the standard headers, but it's equal to O_WRONLY | O_RDWR, or O_ACCMODE). In linux, this can be used to say, "give me an fd for this file, but don't try to open it for reading or writing or