Commit Graph

19210 Commits

Author SHA1 Message Date
enami 499f056402 Backout last change for ufs_readlink. The permission check is now done
in vfs layer.
1997-10-11 00:10:57 +00:00
enami 8092be0770 Check exec bit of symbolic link when traversing path and do it in vfs layer.
Suggested by der Mouse.  Ok'ed by Jason R. Thorpe.
1997-10-11 00:08:08 +00:00
enami db7f1ad2ad Check read permission of symbolic link in vfs layer, when doing readlink(2).
Suggested by der Mouse.  Ok'ed by Jason R. Thorpe.
1997-10-11 00:05:15 +00:00
fvdl d85f38cbec Fix braino in my interpretation of the eof flag to VOP_READDIR. 1997-10-10 22:16:04 +00:00
oki 051b06a759 Add prototypes. 1997-10-10 21:45:18 +00:00
oki a9685de195 Fdopen --> fdopen 1997-10-10 21:42:38 +00:00
oki affaadc59f Prune unused function. 1997-10-10 21:40:50 +00:00
oki a6f8cf735d WARNify, add prototype, remove use of register. 1997-10-10 17:48:06 +00:00
oki 35c6ab7eaf Add prototype, remove use of register. 1997-10-10 17:46:09 +00:00
oki 5a60f8df47 Remove use of register. 1997-10-10 17:43:09 +00:00
explorer e4e727226c For network devices, collect timing information and mix into the pool,
but do not assume any entopy is gathered.  It can be enabled using an
IOCTL again if the user desires.

Note that the mix function uses xor, so at worse an attacker can twiddle
bits in the pool, but not into a known state assuming it started as
an unknown.
1997-10-10 16:35:00 +00:00
christos 328602f8d7 Add definitions for bpf_int and bpf_u_int; these are not used in the kernel,
but libpcap expects them if we advertize our current BPF_VERSION.
1997-10-10 14:15:32 +00:00
fvdl 8aa50b9159 Fix unitialized var warning (did not appear on i386, but did on sparc). 1997-10-10 13:21:51 +00:00
mrg 55c881fbd2 when creating the per-device extent, use from 0 to nblks, and then
extent_alloc_region() any skipped space.  this is (basically) what
the previous swap code did (with rmaps rather than extents).
1997-10-10 13:16:24 +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
oki 9dfe683ff7 Add missing prototypes. 1997-10-10 12:55:26 +00:00
fvdl cd215502cb Regen. 1997-10-10 12:54:39 +00:00
oki 87e21e080a Add missing prototype. 1997-10-10 12:54:02 +00:00
fvdl 914e939800 sys_getdirentries -> compat_12_sys_getdirentries from Juergen Hannken-Illjes. 1997-10-10 12:45:01 +00:00
leo 6ecab62b97 VM_MAX_ADDRESS is the user max address -- adjust (From Chris Hopps). 1997-10-10 11:05:53 +00:00
bouyer f5d86626ec Update for 64 bits directory cookies. 1997-10-10 10:00:12 +00:00
jeremy d2d5e50d91 Rewrote the comments about the operation of the I/O mapper to make them more
accurate and (hopefully) easier to understand.
1997-10-10 09:50:03 +00:00
cjs 984390f178 Add now-working ipfilter. 1997-10-10 08:54:14 +00:00
jonathan 8494c2cf67 Correct name of author in license clause 3, as per email with mrg. 1997-10-10 08:31:10 +00:00
mycroft 61a9f1c6a6 GC pageproc and bclnlist. 1997-10-10 08:19:41 +00:00
mycroft 16652e8449 Regen. 1997-10-10 06:49:08 +00:00
mycroft 523d84775a Emulate mremap(2) by returning ENOMEM for now. This should be sufficient for
realloc(3) and other uses.  From Matthias Scheler in PR 3920.
1997-10-10 06:25:34 +00:00
scottr a7515413d8 Remove advertising clause. 1997-10-10 05:54:48 +00:00
mrg 74f573d85d remove advertising clause from all my licenses. 1997-10-10 05:39:47 +00:00
mhitch 76b5a9517f The Blizzard-IV SCSI driver is now separate from the Blizzard-II. 1997-10-10 04:56:09 +00:00
mhitch 06ff9502c2 Add separate driver frontend for the Blizzard-IV; the differences with
the Blizzard-II are more extensive than I orginally thought.
1997-10-10 04:53:32 +00:00
briggs 71a2747c66 Ignore partitions of type Apple_Driver43 when filling the fake disklabel. 1997-10-10 04:01:02 +00:00
jonathan 2ebcc702b9 Don't check the actual CPU type unless we're in the _KERNEL, or
src/lib/libc/gen/nlist_ecoff.c breaks.
1997-10-10 03:24:49 +00:00
fvdl 6a0575f33e Last arg to VOP_READDIR became off_t. 1997-10-10 02:13:42 +00:00
fvdl fa2348ae01 Add cookie field to buffer structure to be able to store 64bit offsets.
Redo NFS mounting flags; split flags into internal and public, having
2 seperate fields in the NFS mount structure. Add prototype for
vn_readdir to vnode.h
1997-10-10 02:12:21 +00:00
fvdl 541b204984 Add vn_readdir function for use in both the old getdirentries and
the new getdents(). Add getdents().
1997-10-10 02:09:30 +00:00
fvdl b691680ac4 Regen. 1997-10-10 02:07:55 +00:00
fvdl ab03b9752b Make last argument to VOP_READDIR off_t. 1997-10-10 02:07:00 +00:00
fvdl 94781a2402 Regen. 1997-10-10 02:06:00 +00:00
mycroft 7bbb69534f Add a missing splx(). From augustss. 1997-10-10 02:05:36 +00:00
fvdl 5bfc60c1e5 Regen. 1997-10-10 02:05:21 +00:00
fvdl da29e54dfb Add getdents(). Rename getdirentries to compat_12_getdirentries. 1997-10-10 02:03:47 +00:00
fvdl ce56587f15 Bump last argument to VOP_READDIR to off_t (from u_long). 1997-10-10 02:01:05 +00:00
enami fdd96411d4 Regen from syscalls.master 1.9. 1997-10-10 02:01:03 +00:00
fvdl ebffddb531 Bump last argument to VOP_READDIR to off_t (from u_long). 1997-10-10 02:01:02 +00:00
enami 9b1963acd5 Regen from syscalls.master 1.9. 1997-10-10 02:00:57 +00:00
fvdl ab940dcf06 Bump last argument to VOP_READDIR to off_t (from u_long). 1997-10-10 02:00:56 +00:00
enami 6e4ffc538f Regen from syscalls.master 1.9. 1997-10-10 02:00:54 +00:00
fvdl fd5433c6bc Bump last argument to VOP_READDIR to off_t (from u_long). 1997-10-10 01:57:31 +00:00
enami 3c1a195715 lchown at #254. 1997-10-10 01:55:33 +00:00