Commit Graph

14 Commits

Author SHA1 Message Date
pk 9c601e5c64 lstat: since namei() returns an error (EISDIR) if there is no parent to lock,
retry the lookup without LOCKPARENT if that happens. This is safe, since
need to have LOCKPARENT only if the vnode is of type VLNK.
2000-07-26 11:43:07 +00:00
augustss a82aeb5508 Kill register declarations. 2000-03-30 11:24:16 +00:00
thorpej e3669c3393 Add "use counting" to file entries. When closing a file, and it's reference
count is 0, wait for use count to drain before finishing the close.

This is necessary in order for multiple processes to safely share file
descriptor tables.
1999-05-05 20:01:01 +00:00
wrstuden eb10774f2b Explicitly mask mode returned in old stat structure to 16 bits. Also correct
comment (we're converting from a new to an old struct stat).
1999-03-30 00:13:57 +00:00
fvdl e5bc90f40c Merge with Lite2 + local changes 1998-03-01 02:20:01 +00:00
thorpej 00fa9be52f Include the UNION option header. 1998-02-19 00:35:26 +00:00
christos 537eb26ac2 add stat12 compatibility calls and rename ostat to stat43 1997-10-16 23:50:36 +00:00
fvdl 93b08eefc2 u_long -> off_t, I missed the big endian case. From Juergen Hannken-Illjes 1997-10-10 13:03:32 +00:00
fvdl 811fbe17b5 Add getdirentries backward compat syscall. Provide common function to
signal cookie overflow during emulated getdents and friends.
1997-10-10 01:46:59 +00:00
christos ca0d389297 PR/3701: Arne H. Juul: olstat can't stat "/", because it still pretended
that symlinks don't have inodes.
1997-06-06 19:36:31 +00:00
christos 6cbf515e30 Fix compiler warnings 1996-03-14 19:31:45 +00:00
mycroft 245f292fed Prefix names of system call implementation functions with `sys_'. 1995-10-07 06:25:19 +00:00
thorpej 7160dfc805 Make system calls conform to a standard prototype and bring those
prototypes into scope.
1995-09-19 21:57:36 +00:00
christos dcb2a50b2b - Extracted all compat routines from the kern directory and moved here.
- Created compat_util.c and compat_util.h to be used by the compatibility
  modules, so they don't duplicate the same code.
- Added prototypes to the stackgap allocation routines.
1995-06-24 20:15:55 +00:00