christos
e630447d8c
First pass at prototyping
1996-02-04 02:17:43 +00:00
mycroft
bb7cccd06d
Do the previous change a little differently.
1996-02-02 07:49:52 +00:00
jtc
e19bfae4f9
Rename struct timespec fields to conform to POSIX.1b
1996-02-01 00:18:04 +00:00
mycroft
99686e0059
Add a vnode** argument to getvnode(), prototype it, and make it return
...
EBADF if the file descriptor has been revoked.
1996-01-30 20:05:33 +00:00
mycroft
7edc899fdd
ffs -> ufs
1995-11-11 22:00:15 +00:00
gwr
dd962ebbf6
Make sys_mount accept "ufs" as an alias for "ffs"
1995-11-07 22:41:02 +00:00
mycroft
245f292fed
Prefix names of system call implementation functions with `sys_'.
1995-10-07 06:25:19 +00:00
thorpej
60024eb978
Make system calls conform to a standard prototype and bring those
...
prototypes into scope.
1995-09-19 21:40:36 +00:00
christos
1a5a3c9199
Extracted all of the compat_xxx routines, and created a library [libcompat]
...
for them. There are a few #ifdef COMPAT_XX remaining, but they are not easy
or worth eliminating (yet).
1995-06-24 20:33:55 +00:00
cgd
8f62c773e8
don't assume the f_fsnamelen is nul-truncated or longer than MFSNAMELEN
1995-06-18 14:45:14 +00:00
jtc
95ded74f58
Moved egid credential from cr_groups[0] to new field cr_gid. POSIX.1
...
requires that sgid executables and the setuid() syscall *not* change
the supplemental group list.
1995-06-01 22:43:30 +00:00
christos
fb371ccef0
tty_tb.c: need to include ioctl_compat.h in order to compile.
...
sysv_shm.c: make shm_find_segment_by_shmid global so it can be used by
COMPAT_HPUX. There should be a better way...
rest: Add #ifdef COMPAT_HPUX where needed
1995-05-10 16:52:53 +00:00
mycroft
2f805fa51b
copy*str() should use size_t.
1995-03-09 12:05:21 +00:00
cgd
9c3af345b5
use NULL rather than casted zero
1995-03-08 01:21:30 +00:00
fvdl
cb05b6a54b
Two more "|| defined(COMPAT_LINUX)" that I somehow missed first time around.
1995-03-05 20:48:15 +00:00
fvdl
7b5bd63e35
Extended a couple of defines with "|| defined(COMPAT_LINUX)" to make
...
things compile without requiring COMPAT_43 and/or COMPAT_09.
1995-03-05 08:52:17 +00:00
mycroft
af0c359450
Turn mountlist into a CIRCLEQ, and handle setting and checking of MNT_ROOTFS
...
differently.
1995-01-18 06:14:43 +00:00
mycroft
b4aa6d3a28
Call foo_statfs() from a common place when mounting.
1994-12-15 19:46:08 +00:00
mycroft
12371eafc4
Revert open() completely.
1994-12-14 19:36:15 +00:00
mycroft
1b00f4cc4e
Revert dup handling. Remove extra arg to vn_open().
1994-12-14 19:08:07 +00:00
mycroft
82ab4c687f
Sync with CSRG.
1994-12-14 16:30:40 +00:00
mycroft
a18ec3cb1b
LEASE_CHECK -> VOP_LEASE
1994-12-13 21:52:35 +00:00
mycroft
23bd29ca27
Minor changes.
1994-12-13 09:49:13 +00:00
mycroft
b58324b77a
Abstract out the code to maintain fd_lastfile. Remove the old dup() compatibility
...
kluge. Rearrange fdopen() handling. Make a common function to handle closing
a particular file descriptor in a process. Some other cleanup.
1994-12-04 03:09:50 +00:00
christos
70e6f7edb8
Don't VOP_UNLOCK the vnode on a cloning operation. vput() will do it for
...
us.
1994-11-18 02:48:58 +00:00
christos
3e935d8a0d
Added ifdef COMPAT_SVR4 to the kernel compat code needed.
1994-11-17 20:27:10 +00:00
christos
1a320dc9be
added extra argument in vn_open and VOP_OPEN to allow cloning devices
1994-11-14 06:01:16 +00:00
cgd
6ac2bbfc35
be more careful with types, also pull in headers where necessary.
1994-10-30 21:43:03 +00:00
cgd
6b86130410
update for new syscall args description mechanism
1994-10-20 04:22:35 +00:00
mycroft
480c10c23a
Maintain vfs reference counts.
1994-09-22 02:17:00 +00:00
mycroft
4566d7f5ba
Need ostat() and olstat() for iBCS2 syscall conversion.
1994-08-15 22:06:47 +00:00
mycroft
4a8bf3976b
Fix a problem in sync() where we might keep a stale pointer to the next mount
...
entry.
1994-08-13 07:05:53 +00:00
cgd
cf92afd66e
New RCS ID's, take two. they're more aesthecially pleasant, and use 'NetBSD'
1994-06-29 06:29:24 +00:00
mycroft
1e92bdf540
Make ogetdirentries() if COMPAT_HPUX.
1994-06-22 03:01:16 +00:00
mycroft
e916c8d15f
Update to union mount code from JSP.
1994-06-16 14:14:57 +00:00
mycroft
699bbb84b6
Update to 4.4-Lite fs code.
1994-06-08 11:28:29 +00:00
cgd
6dad8d7a8a
put sync printing in one place
1994-05-18 00:35:07 +00:00
cgd
0e794e2d48
stub pathconf, kill some spaces
1994-05-07 00:59:59 +00:00
cgd
f8dd4f370d
expand the rlimit struct, kill last vestiges of off_t bogosity.
1994-05-04 01:38:25 +00:00
cgd
f50f031448
kill syscall name aliases. no user-visible changes
1994-04-29 04:41:02 +00:00
cgd
d071d1cf05
some prototype cleanup, eliminate/replace bogus types (e.g. quad and
...
u_quad) -> use better types (e.g. quad_t & u_quad_t in inodes),
some cleanup.
1994-04-25 03:49:27 +00:00
cgd
3dda0064a5
Convert mount, vnode, and buf structs to use <sys/queue.h>. Also,
...
some knf and structure frobbing to do along with it.
1994-04-21 07:47:31 +00:00
cgd
551e92c16a
start to phase out temp. off_t syscalls
1994-04-16 23:19:06 +00:00
cgd
3b4faf4521
slightly loosen lseek restriction
1994-04-16 06:51:58 +00:00
cgd
4be7b669e2
fs types are names now; accompanying changes.
1994-04-14 04:05:28 +00:00
cgd
b9bf37a91f
if MNT_USER is set, let fs authenticate unmount
1994-04-07 07:20:31 +00:00
cgd
ed740c7de8
frob arguments a little bit
1994-04-02 08:39:20 +00:00
cgd
304e374292
expand uid_t/gid_t/off_t
1994-03-27 09:08:02 +00:00
mycroft
1b37a40b3d
Fix that last bug correctly.
1994-02-01 01:04:07 +00:00
pk
92f1bd1c60
Replace a bogus pointer-dereference with something that at least *looks*
...
more sensible.
1994-02-01 00:29:14 +00:00
cgd
bc53d82fa7
fix utimes() to deal with NULL timeval ptr
1994-01-13 23:51:43 +00:00
cgd
2c5c3a2774
add support for union and loopback mounts, from jsp
1994-01-04 14:10:48 +00:00
cgd
ba67215d35
generalize dupfdopen() to allow dups and moves. from jsp
1994-01-04 12:26:21 +00:00
mycroft
7f50bd1829
Canonicalize all #includes.
1993-12-18 04:21:37 +00:00
cgd
436e431478
BSDI official patch #15 :
...
SUMMARY:
"panic: vrele: null vp", the problem seems to be that two renames are
moving the same source, and the second one can't do it.
ALSO:
in sync, check that rootfs is non-null before using it.
1993-10-27 02:33:40 +00:00
ws
053f138dae
Changes to VFS readdir semantics
...
NFS changes for better cookie support
ISOFS changes for better Rockridge support and support for generation numbers
1993-09-07 15:40:14 +00:00
mycroft
5cc9898c12
Cosmetic change to VOP_ADVLOCK() fix.
1993-08-03 00:11:29 +00:00
mycroft
f9ce597695
Collapse a bunch of `if (a & x) b |= x; else b &= ~x;' statements.
...
Whoever wrote this fugly code must've been on drugs.
1993-08-02 23:37:56 +00:00
mycroft
4862b84c92
Add RCS identifiers (this time on the correct side of the branch), and
...
incorporate recent changes in netbsd-0-9 branch.
1993-08-01 19:22:24 +00:00
mycroft
a2587ffb83
Nuke a kluge from Net/2. The argument list ocreat() creates for open() can
...
now be a struct open_args; no need to redefine the structure.
1993-07-18 06:28:01 +00:00
cgd
9c0456d7d7
gcc2 cleanup, and break args out of procedure def'ns
1993-07-15 22:56:23 +00:00
cgd
230dcf0d05
add $Id$ strings, and clean up file headers where necessary
1993-05-20 02:54:09 +00:00
cgd
61f282557f
initial import of 386bsd-0.1 sources
1993-03-21 09:45:37 +00:00