Commit Graph

17707 Commits

Author SHA1 Message Date
dyson
893f3f4e22 Make LKM's build again. I have added the allegedly broken
ACTUALLY_LKM_NOT_KERNEL until the real fix comes through.  Whatever
flag that is used to indicate building LKMs will have be be substituted
in the future.  This allows proper selection of the usage of the
efficient, single instruction in the kernel, but alas, doesn't allow
for use in userland or LKMs :-(.  Them's the breaks!!!
1996-12-07 05:08:37 +00:00
dyson
efc1e2b6cf Change endian.h so that when a kernel is compiled without I386_CPU, and
with one of the following (I486_CPU,I586_CPU,I686_CPU) so it can take
advantage of the very quick bswap insn.  This keeps LKMs from being
built to take advantage of the insn, but also makes sure that the LKMs
can be run on all CPUs.  (The LKMs don't pick up the CPU options :-( ).
1996-12-07 03:46:20 +00:00
jkh
db504681e6 Add Guido von Rooij to list of security officers, remove myself from
Webmaster list since I'm not doing that anymore, remove "system administration"
category entirely since it's now a responsibility shared among multiple
individuals and, finally, add FAQ category and stick Peter da Silva's name on
it.

Reminded-By: max
1996-12-07 03:12:23 +00:00
ache
1527a41396 Disable seteuid/setegid back, I overlook one place where
SETEUID chacked before SETREUID
1996-12-07 00:16:04 +00:00
dyson
468189da8d Make vm_map_insert much more intelligent in the MAP_NOFAULT case so
that map entries are coalesced when appropriate.  Also, conditionalize
some code that is currently not used in vm_map_insert.  This mod
has been added to eliminate unnecessary map entries in buffer map.

Additionally, there were some cases where map coalescing could be done
when it shouldn't.  That problem has been resolved.
1996-12-07 00:03:43 +00:00
max
0dc3710893 Merge the change made to the en version (1.40 -> 1.41). 1996-12-06 23:05:10 +00:00
ache
841181010a Enable seteuid, setegid 1996-12-06 22:59:56 +00:00
ache
ce5f1502b4 Not have saved setuid anymore 1996-12-06 22:55:31 +00:00
ache
bf67909b4b Turn POSIX_SAVED_IDS off 1996-12-06 22:53:52 +00:00
ache
d445501c00 Turn off _POSIX_SAVED_IDS 1996-12-06 22:51:11 +00:00
kato
e9a70c6cd0 Synchronize with sys/i386/i386/machdep.c revision 1.217.
This should not be in 2.2 until original change is merged.
1996-12-06 19:51:49 +00:00
jkh
b6baff700c List Peter da Silva explicitly as the maintainer. I feel this to be
better than using the "FAQ" alias as people have either ignored or
misused the alias in the past, and this gives the feeling that there's
an actual person behind it now (which will be a nice change in any case :-).
1996-12-06 18:19:31 +00:00
bde
ae8570b44a Fixed a null pointer panic in ADDENTRY(). Unloading the lkm and joy
modules sort of works now.  Their devswitch entries aren't cleaned
up, so accessing them after they have been unloaded causes a panic
in spec_open().

Submitted by:	durian@plutotech.com (Mike Durian), IIRC
1996-12-06 12:47:05 +00:00
jkh
1d12f608ff Add Peter da Silva to authors list now that he's taking over the FAQ. 1996-12-06 11:37:34 +00:00
peter
cb5ab704f2 Update this to what freefall's been running for a day or so. 1996-12-06 11:29:15 +00:00
max
9c6dec85a6 Merge the changes made to the en version (1.39 -> 1.41). 1996-12-06 10:10:40 +00:00
jkh
f2471ca4b1 Drop the e_spare[] array to 3 elements so that padding of the eproc
structure remains the same despite bumping MAXLOGNAME.
1996-12-06 08:01:17 +00:00
nate
06939e7b6a Added psm manpage.
Submitted by:	Kazutaka YOKOTA <yokota@zodiac.mech.utsunomiya-u.ac.jp>
1996-12-06 01:58:14 +00:00
jkh
eeb126378e I asked Bill Paul why _getnetbynis() was only being called with 2 parameters,
and he said:

	The 3rd agrument is new; looks like it was part of the upgrade to
	a new BIND with some IPv6 support. The third argument here should be
	AF_INET. In order for it to be anything else, I'd have to add new
	NIS functions to support IPv6 lookups. I don't even know what those
	look like yet.

So there ya go, add AF_INET as the 3rd argument to the call.

Submitted-by: wpaul
1996-12-06 00:12:31 +00:00
julian
421ae6a998 Add comments to hard-to-follow File descriptor handling code 1996-12-05 22:41:13 +00:00
ache
522a03fa92 Swap %X and %Y in %c 1996-12-05 20:33:07 +00:00
ache
17cc02ba93 Fix my error from previous commit with mixing rwhod protocol
and utmp sizes.
Replace hardcoded constants by sizeofs or symbolic constants
1996-12-05 20:19:33 +00:00
jkh
e1ff7f23f8 Remove more instances of passing arrays by address when they should
have simply been passed as arrays.  In some cases, casts had even
been added to remove the warnings generated by such misuse!  Aieee!
1996-12-05 18:46:19 +00:00
jkh
387fe043cb Eliminate 3 more examples of gratutiously passing arrays by address.
Everyone please call ParaSoft today and say "I will buy 57 copies of
Insure++ tomorrow, but first I want a FreeBSD version." :-)
1996-12-05 18:41:35 +00:00
jkh
04f6ba42ab sethostname() returns int, not long. I could get used to having this
copy of insure++, too bad the runtime only works for BSD/OS. :-(

Maybe they'll be so impressed by my initial 15 entry bug report for it
that they'll take the FreeBSD version more seriously. :-) :-)
1996-12-05 18:27:20 +00:00
jkh
d9e46a2d1a _key is a char array and we don't need to pass its address to _buildkey()
when buildkey is expecting a char *.
1996-12-05 18:22:00 +00:00
jkh
9f43ee6680 gethostname() returns int, not long. Answered my own question by
RTFM'ing.  Either both the header files and the man pages are wrong
or this code is, and I'll take the majority decision. :-)
1996-12-05 18:14:56 +00:00
jkh
bd235b6b0f make u_char * -> char * conversion explicit.
Found-By:  insight's "insure++" tool.
1996-12-05 18:05:11 +00:00
ache
f204d1bbee Remove one space to produce the same output alignment
like in who, rwho, w, etc.
1996-12-05 17:56:05 +00:00
ache
adcb17c3ed Adjust line to not overflow 80 cols (result of recent utmp changes) 1996-12-05 17:33:46 +00:00
ache
48670a95db Use UT_* contstants when possible instead of harcoded 8
2.2 candidate
1996-12-05 17:12:51 +00:00
ache
25af7e1053 Increase username field to reflect utmp changes 1996-12-05 17:00:16 +00:00
ache
7b950ca770 Fix compiler warning: /* inside comment
2.2 candidate
1996-12-05 14:46:57 +00:00
max
10a6974722 Merge the changes made to the en version (1.47 -> 1.51). 1996-12-05 13:43:30 +00:00
bde
add8ea94e3 Fixed handling of modem status changes. Only the most common case of
connect/hangup in !CLOCAL mode was handled correctly.  mgetty and ppp
didn't work because they turn on CLOCAL and poll for carrier (or RI?).
1996-12-05 12:43:30 +00:00
max
d0101e0053 Merge the changes made to the en version (1.20 -> 1.21). 1996-12-05 11:57:23 +00:00
asami
9babd021fe Add ports-vietnamese, delete ports-distfiles. 1996-12-05 11:27:53 +00:00
asami
da4f71da7f Update to match reality. New __FreeBSD_version values for post 2.1.5R
releases, example for MASTER_SITE_XCONTRIB and such.
1996-12-05 11:21:47 +00:00
asami
1e081970f9 Add ports-vietnamese. While I'm here, comment out ports-distfiles,
which has been discontinued indefinitely.
1996-12-05 11:17:11 +00:00
asami
5473ccc95f Directories for Japanese manpages. Definite 2.2 candidate, as it will be
used for the "Japanese manpages port" coming soon.
1996-12-05 10:33:56 +00:00
dyson
e198c2084e Clean-up of the new buffer kva allocation code. Also, there was an
error in the !BOUNCE_BUFFERS case.
1996-12-05 04:28:52 +00:00
max
2cb78c6970 Merge the changes made to the en version (1.161 -> 1.162). 1996-12-05 03:31:00 +00:00
jkh
194ce9ccb7 *Ahem*. Plexstor, not plasmon.
Spotted-By:  Someone from Japan who's name I now forget (sorry!).
1996-12-05 03:30:59 +00:00
nate
9439e355f3 Better fix for the previous overflow problem using the code from
ogetrlimit().

Suggested by:	bde
1996-12-05 03:14:14 +00:00
nate
bde5edc0f3 Added Miguel Angel Sagreras <msagre@cactus.fi.uba.ar> for his ibcs2 patches. 1996-12-05 01:47:33 +00:00
nate
56a0429885 'ulimit' can overflow the int return value, so avoid the overflow by
subtracting one if ulimit returns -1.

Submitted by:	Miguel Angel Sagreras <msagre@cactus.fi.uba.ar>
1996-12-05 01:45:08 +00:00
bde
7d71d37962 Fixed an off by 1 error in unix2dostime(). The first day of each month
was converted to the last day of the previous month.  This bug was
introduced in the optimizations in rev.1.4.
1996-12-04 13:42:09 +00:00
jkh
9b86a34b6b Bump maximum username length to 16 characters. This brings us into
line with BSD/OS and Linux's username limits, making transitioning from
either operating system a lot easier than it is now.  I'm currently
running with this change on my system, as are several others, and have
experienced no ill effects.

This is not for 2.2!  This needs to get shaken out longer term in 3.0.

Previously-approved-by:  davidg
1996-12-04 11:31:14 +00:00
ache
934ae8e8fd Fix syntax error loc->doc 1996-12-04 09:42:39 +00:00
max
a818efff0b Merge changes made to the en version (1.160 -> 1.161). 1996-12-04 09:04:42 +00:00