fvdl
ebffddb531
Bump last argument to VOP_READDIR to off_t (from u_long).
1997-10-10 02:01:02 +00:00
leo
e0f973ee3b
Implement the kernel part of pr-1891. This allows for a more flexible sized
...
msgbuf. Note that old 'dmesg' and 'syslogd' binaries will continue running,
though old 'dmesg' binaries will output a few bytes of junk at the start of
the buffer, and will miss a few bytes at the end of the buffer.
1997-09-19 19:14:20 +00:00
christos
4fb8bf7262
PR/4098: Alan Barrett: Fix diagnostic printf formatting.
1997-09-10 13:44:20 +00:00
pk
420dea1e9a
Move `struct kern_target' definition into kernfs.h
1997-05-10 22:04:13 +00:00
mycroft
e3f99a9397
Pass the vnode type to vaccess(), and use it when checking VEXEC. Make sure
...
that the mode bits passed to vaccess() and returned by foo_getattr() contain
only permission bits.
1997-05-08 16:19:43 +00:00
cgd
a67c0b16b8
define path name string variables that we should not (and, thankfully, do
...
not) modify as 'const char *' rather 'char *'.
1996-10-25 21:57:58 +00:00
christos
92a808f167
backout previous kprintf changes
1996-10-13 02:21:25 +00:00
christos
60d201973e
printf -> kprintf, sprintf -> ksprintf
1996-10-10 22:46:11 +00:00
mycroft
2bc736661a
Implement poll(2).
1996-09-07 12:40:22 +00:00
mycroft
c52352c819
Add a set of generic file system operations that most file systems use.
...
Also, fix some time stamp bogosities.
1996-09-01 23:47:48 +00:00
christos
da749d6e09
Fix printf format follies.
1996-03-16 23:52:42 +00:00
mycroft
183aec8fa8
GC *_nullop(). Minor nits.
1996-02-13 13:12:48 +00:00
christos
631ccba638
miscfs prototype changes
1996-02-09 22:39:56 +00:00
mycroft
53fccab940
Fix vop_link, vop_symlink, and vop_remove semantics in several ways:
...
* Change the argument names to vop_link so they actually make sense.
* Implement vop_link and vop_symlink for all file systems, so they do proper
cleanup.
* Require the file system to decide whether or not linking and unlinking of
directories is allowed, and disable it for all current file systems.
1996-02-09 14:45:36 +00:00
mycroft
3dc2e10405
Fix the inode calculation in kernfs_getattr().
1995-10-09 14:25:02 +00:00
mycroft
d60bb4a465
Use the index number as the cookie, rather than multiplying by UIO_MX.
1995-10-09 14:03:32 +00:00
mycroft
bcaf2bca34
Add support for cookies, mostly from Greg Hudson.
1995-10-09 11:18:51 +00:00
cgd
13f5026553
fix timeval vs. timespec warnings
1995-04-15 01:56:43 +00:00
mycroft
597bdad3df
Return EROFS rather than ENOENT in many cases. Also some cosmetic cleanup.
1995-02-03 16:18:46 +00:00
mycroft
609063ce2b
Format police.
1994-12-27 19:05:12 +00:00
ws
2f0fb8ee09
Implement and use a common access checking routine
1994-12-24 16:44:12 +00:00
mycroft
7276c4ed44
Remove a_fp.
1994-12-14 18:45:21 +00:00
mycroft
1056700333
Make sure averunnable.fscale is filled before using it.
1994-12-01 10:16:53 +00:00
christos
8cdc99a059
fixed struct comment
1994-11-14 06:04:31 +00:00
cgd
6b86130410
update for new syscall args description mechanism
1994-10-20 04:22:35 +00:00
mycroft
41761064b8
Implement /kern/msgbuf.
1994-07-21 10:22:20 +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
117527f322
Minor update from JSP after merging my changes.
1994-06-15 22:54:38 +00:00
mycroft
76ee6346df
Deal with silly DIAGNOSTIC check.
1994-06-15 17:52:32 +00:00
mycroft
7162b2c482
Use vget() for devices.
1994-06-15 03:30:44 +00:00
mycroft
cde1d47595
Update to 4.4-Lite fs code, with local changes.
1994-06-08 11:33:09 +00:00
mycroft
3f3d8b3889
Really fix the file size problem.
1994-05-17 06:59:17 +00:00
cgd
fa475bdca1
actually set va_size!
1994-05-17 04:10:29 +00:00
ws
1df94d108f
Add .. entry to /kern
1994-02-14 19:46:18 +00:00
cgd
b41fd90fdc
don't give bogus return code from read()
1994-02-11 01:01:51 +00:00
cgd
d43a0f37b1
don't panic if user does 'cat /kern', though result is dubious.
1994-02-09 06:32:17 +00:00
cgd
87693669dd
update with latest kernfs file system from jsp@sequent.com
1994-01-05 11:04:54 +00:00
cgd
ae30022085
fix return type of vnode print routine
1993-12-22 13:14:10 +00:00
cgd
86f960201b
pull load average and misc changes down from magnum
1993-12-20 12:39:10 +00:00
mycroft
0560892d34
Canonicalize all #includes.
1993-12-18 03:48:27 +00:00
cgd
2b3cb4657d
#ifdef out /kern/root at theo's request
1993-11-20 01:57:07 +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
b4d9151681
Make kernfs_print have a return type of void.
1993-08-02 23:00:57 +00:00
cgd
c88530d318
give various filesystems their own vnode types
1993-06-07 05:25:16 +00:00
cgd
6b5412e4fa
add some more functionality: a setattr which supports chmod+chown+chgrp,
...
and the various support elsewhere to deal with it.
1993-05-28 16:47:02 +00:00
cgd
84a68c1180
add kernfs_access function, to kill kernfs security hole
1993-05-28 14:12:17 +00:00
cgd
868a2c5982
header cleanup
1993-05-20 04:01:30 +00:00
cgd
6e88da586a
fix several off-by-one errors in hostname setting/reading
1993-04-27 10:06:10 +00:00
mycroft
484e228599
Use EPERM when write permission is denied, not EBADF.
1993-04-27 07:21:37 +00:00
cgd
b9a4c9fc69
added ".." and support for "rrootdev"
1993-03-27 00:37:08 +00:00