NetBSD/sys/compat
dmcmahill b2ddb9701f Add entry for flock() syscall.
From the NetBSD and OSF man pages, the arguments and operation of the
2 flocks are identical.  The only differences are in some of the possible
values for errno which may be set in the event of certain errors.  These
differences are (again from the manual pages):

The NetBSD flock may set errno to

     [EOPNOTSUPP]  The argument fd refers to an object other than a file.

and the OSF flock doesn't list this is a possible error code.

The OSF flock may set errno to:

  [EINTR]   A signal interuppted the flock call.
  [ENOLCK]  The lock table is full.  Too many regions are already locked.
  [EDEADLK] The lock is blocked by some lock from another process.  Putting
            the calling process to sleep while waiting for that lock to
            become free would cause a deadlock.

while the NetBSD flock does not list these as possibilities.

The remainder of the possible error codes are the same.

commit cleared with thorpej first.
2001-06-23 02:45:54 +00:00
..
aout Add an e_trapsignal member to struct emul, so that emulated processes can 2001-06-18 02:00:48 +00:00
aoutm68k Add an e_trapsignal member to struct emul, so that emulated processes can 2001-06-18 02:00:48 +00:00
common Fix a partial construction problem that can cause race conditions 2001-06-14 20:32:41 +00:00
freebsd Add an e_trapsignal member to struct emul, so that emulated processes can 2001-06-18 02:00:48 +00:00
hpux Add an e_trapsignal member to struct emul, so that emulated processes can 2001-06-18 02:00:48 +00:00
ibcs2 Add an e_trapsignal member to struct emul, so that emulated processes can 2001-06-18 02:00:48 +00:00
linux linux_sys_socketcall(): refuse negative 'what' values 2001-06-22 08:27:05 +00:00
m68k4k restructure struct emul and execsw, in preparation to make emulations LKMable: 2000-11-21 00:37:49 +00:00
netbsd32 Some of this was sparc-specific, so ifdef __sparc__ it (XXX). Also, 2001-06-19 00:36:21 +00:00
osf1 Add entry for flock() syscall. 2001-06-23 02:45:54 +00:00
ossaudio Fix a partial construction problem that can cause race conditions 2001-06-14 20:32:41 +00:00
pecoff Add an e_trapsignal member to struct emul, so that emulated processes can 2001-06-18 02:00:48 +00:00
sunos Add an e_trapsignal member to struct emul, so that emulated processes can 2001-06-18 02:00:48 +00:00
sunos32 Add an e_trapsignal member to struct emul, so that emulated processes can 2001-06-18 02:00:48 +00:00
svr4 Add an e_trapsignal member to struct emul, so that emulated processes can 2001-06-18 02:00:48 +00:00
svr4_32 Add an e_trapsignal member to struct emul, so that emulated processes can 2001-06-18 02:00:48 +00:00
ultrix Add an e_trapsignal member to struct emul, so that emulated processes can 2001-06-18 02:00:48 +00:00
vax1k eliminate the KERN_* error codes in favor of the traditional E* codes. 2001-03-15 06:10:32 +00:00
Makefile Our INCSDIR has been pruned from distrib/sets, so don't make it any more. 2001-03-30 12:42:30 +00:00