Commit Graph

32461 Commits

Author SHA1 Message Date
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
fvdl
49d58c7d89 Regen. 1997-10-10 01:45:48 +00:00
fvdl
b35ec5940b Channel FreeBSD getdirentries to our now obsolete getdirentries call. 1997-10-10 01:44:59 +00:00
fvdl
d6e5e295fa Signal error when getting a 64 bit offset cookie that can't be stored
in 32 bits. Provide an error message to the user, and return EINVAL.
Also, pay attention to the EOF flag from VOP_READDIR. Correct a
misspell in a panic message.
1997-10-10 01:42:21 +00:00
jeremy
88a82f5e7a Corrected typo in comments. 1997-10-10 01:36:32 +00:00
explorer
1c276eafe2 Add hooks to insert timing info into the random system 1997-10-10 01:19:37 +00:00
explorer
b5feb41072 Add hooks to insert timing info into the random system 1997-10-10 01:09:03 +00:00
mycroft
6d66d9e789 Modify the version number so people know that this isn't their father's GCC. 1997-10-10 01:05:03 +00:00
mycroft
1e9143a549 Make sure TREE_PUBLIC() is false for static function declarations. This was
an abstraction violation, and broke compilation of libqt on the i386 port.
1997-10-10 01:00:38 +00:00
explorer
d8c3ad024d define rnd cdev here 1997-10-10 00:44:33 +00:00
thorpej
0640101d32 Always use --unlink. It's too easy to lose if you don't. 1997-10-10 00:16:02 +00:00
explorer
bde51b6f93 add /dev/random as major device 46 1997-10-09 23:59:15 +00:00
explorer
dac3eb2c9b make /dev/random standard, per message from Jason 1997-10-09 23:53:01 +00:00
explorer
32a092e1cf define the 'options DEVRANDOM' thing, and which files to include to use it. 1997-10-09 23:19:24 +00:00
explorer
d8e4695634 add hooks to initialize the random driver 1997-10-09 23:17:37 +00:00
explorer
2021c11247 Addition of /dev/random and in-kernel random value generation.
Over the next few days (thank goodness for long weekends) I'll be hunting
down device drivers and adding hooks to gather entropy from many devices,
and adding the conf.c changes to the various port's device structs to
define major numbers for /dev/random and /dev/urandom.
1997-10-09 23:13:12 +00:00
lukem
ff14dd5a30 KNFify, WARNSify, use errx(), clean up .Nm in manpage 1997-10-09 23:07:00 +00:00
mycroft
f087df6319 Search for man page source in section 3f. 1997-10-09 23:00:20 +00:00
christos
525e2bc598 Revert all slash removing changes; it is not worth it...
The latest one broke "ls foo.c/". Sync with Lite-2.
1997-10-09 22:59:18 +00:00
lukem
1f1a64af74 remove WARNS=0, because mycroft fixed rpcgen(1) to DTRT WRT outputting KNF. 1997-10-09 22:26:17 +00:00
scw
2dde7e366d Added support for VMEbus RAM cards via MACHINE_NONCONTIG.
The kernel should still compile and run without it, but I've
put the config option in std.mvme68k so it's built like this
as standard.
1997-10-09 21:39:16 +00:00
christos
d6ddaab4e6 Fix for WARNS=1 and remove WARNS override from Makefile 1997-10-09 21:20:16 +00:00
is
9f6d6708f4 Help crosscompiling, by as -> $(AS). Define AS?= as in the calling
Makefile.$(ARCH)es. Will hopefully fix the (remaining) part or pr4010.
1997-10-09 20:40:18 +00:00
cjs
b1caf63d0a Build smrsh to use /usr/libexec/sm.bin and install in /usr/libexec/smrsh. 1997-10-09 20:09:38 +00:00
cjs
02d94cd4ae Add /usr/libexec/sm.bin for smrsh programs. 1997-10-09 20:08:34 +00:00
is
31c3c1a2b3 Most calls of ldexp() won't be with a first parameter of 0.0. Don't penalize
them for a slight optimization of the zero case.
1997-10-09 20:06:18 +00:00
jtc
e76394c0c6 import tzdata1997i 1997-10-09 20:02:32 +00:00
cjs
cec80a9c8c Bring sendmail/cf fully into sync with sendmail-8.8.7. 1997-10-09 19:39:51 +00:00
is
eb54c04b14 Don't forget to set the scale variable even if we dont need to sign-extend it.
From PR 4236 by Norman Mackenzie.
1997-10-09 19:19:01 +00:00
christos
e603ef8879 PR/4211: Dave Huang: don't lose VSTATUS and VEOL and any other characters that
are VDISABLED by default.
1997-10-09 19:16:04 +00:00
christos
6155bdd332 GC bd_sig 1997-10-09 18:58:08 +00:00
christos
485a068ec2 bpf_filter.c:
- update copyright
	- add their rcsid
	- initialize some variables later later for consistency
	  with the current code.
	- change char to u_char to match the current code.
1997-10-09 18:20:04 +00:00
christos
7e9caf0d73 - add their rcsid
- add ifdef to match current code
1997-10-09 18:19:21 +00:00
christos
b13f94b5bf sync with bpf-1.2a1
- fix whitespace
	- add rcsid
	- add BPF_RELEASE define
	- add BIOCSTCPF BIOCSUDPF
1997-10-09 18:18:37 +00:00
christos
3108a74999 Sync with bpf-1.2a1
- whitespace
	- add rcsid; our sccsid is newer than the one on 1.2a1.
	- change prototype to add mtu
	- change size_t to u_int for consistency.
	- add alignment stuff in bpf_movein
	- add more consistency checks bpf_movein
	- use one uiomove and then bcopy the data in bpf_movein
	- update the comment for the panic when ifpromisc fails.
	- separate the case when we have non blocking I/O and
	  no data and return EWOULDBLOCK
	- check for other errors and return them
	- pass the mtu to bpf_movein
	- Add the BPF_KERN_FILTER junk, just so that we keep up with the code
	- remove BIOCSRSIG, BIOCGRSIG; SIGIO does this well.
	- don't add the SIOCGIFADDR stuff (it is bogus)
	- Check for malloc return for consistency.
	- comment should say poll
	- change formatting to match the current code.
	- save and restore the pcount and flags in case we fail to set the
	  interface into promiscuous mode.
	- fix spelling typo.
1997-10-09 18:17:19 +00:00
mycroft
1999e9c4b7 Fix more white space lossage. 1997-10-09 17:58:15 +00:00
mycroft
7b80581cc5 More KNF. 1997-10-09 16:54:38 +00:00
mycroft
97d989af48 Output the declaration for the loop index variable in the same block as the
rest of the vector inline code.
1997-10-09 16:31:12 +00:00
mycroft
51e08ca293 KNF. 1997-10-09 15:45:15 +00:00
bouyer
6ab3092b11 Add byte-swapping functions (bswap16, bswap32, bswap64) to libkern.
Only assembly version for i386 bswap16 and bswap32 for now (bswap64 uses
bswap32). Contribution of assembly versions of these are welcome.
Add byte-swapping of ext2fs metadata for big-endian systems.
Tested on i386 and sparc.
1997-10-09 15:42:19 +00:00
mycroft
daa885fdce Fix another white space glitch. 1997-10-09 15:19:48 +00:00
mycroft
eefe653830 Clean up some minor white space nonsense in the output. 1997-10-09 15:13:19 +00:00
mycroft
a377886de6 Make the output more KNF-like, and only output the inlining variables when
needed.
1997-10-09 15:12:24 +00:00
lukem
5542a7ca43 - define WARNS?=1 in the top-level Makefile.inc, and don't define
anywhere else.
- for now, override WARNS=0 in librpcsvc and libwrap, until they're
  cleaned up
- rcsid police

lib is now clean (except for librpcsvc and libwrap) on the i386, and
this should motivate the other ports to fix any other minor problems
that their compilers pick up that the i386 version doesn't.
1997-10-09 14:36:17 +00:00
lukem
4baee3e06e fix mistake in previous commit (added too many __RCSID/#endif lines 1997-10-09 14:31:59 +00:00
lukem
6112a51e58 use __RCSID() 1997-10-09 14:21:19 +00:00
lukem
0a48c27c48 WARNSify 1997-10-09 13:52:40 +00:00
oki
15d57c4473 Oops, fixed error in previous commit. 1997-10-09 13:26:18 +00:00
bouyer
7052d78b8d Ext2 metadata are always stored on disk in little-endian byte order,
so do byte-swapping on big-endian system. The byte-swap routines are in
fsck/bswap.c because they will also be used in fsck_ffs in future.
Tested on i386 and sparc.
1997-10-09 13:19:32 +00:00
oki
deff7d5471 Added prototype. 1997-10-09 13:19:26 +00:00