Jens Schweikhardt
67e99a1a66
Document all isdn_* variables in rc.conf(5) - 6 more knobs to frob!
...
PR: conf/24865
Submitted by: schweikh
Reviewed by: hm
2001-04-24 20:00:58 +00:00
Thomas Moestl
83f3198b2b
Change uipc_sockaddr so that a sockaddr_un without a path is returned
...
nam for an unbound socket instead of leaving nam untouched in that case.
This way, the getsockname() output can be used to determine the address
family of such sockets (AF_LOCAL).
Reviewed by: iedowse
Approved by: rwatson
2001-04-24 19:09:23 +00:00
Robert Watson
c7e1887023
o Change a suser() call to a suser_xxx(..., PRISON_ROOT) call in the
...
linuxulator so as to allow privileged processes within a jail() to
invoke the Linux initgroups() system call. This allows the Linux
"su" to work properly (better) when running a complete Linux
environment under jail(). This problem was reported by Attila
Nagy <bra@fsn.hu>.
Reviewed by: marcel
2001-04-24 19:08:53 +00:00
Warner Losh
0b3f09269a
Say "add -r" rather than 'use -r' since the former is more correct.
...
The latter implies to many people that they use only -r, which is
incorrect.
2001-04-24 17:40:54 +00:00
Doug Rabson
a78af1ccdb
When switching backing store during signal delivery, do the switch before
...
creating the register frame for calling the handler. Also discard that
frame before switching back to the old backing store after the handler
returns.
2001-04-24 15:57:16 +00:00
Doug Rabson
2c7122ff0f
Align stack pointer and backing store pointer to 16 byte boundary when
...
delivering signals.
2001-04-24 15:55:47 +00:00
Doug Rabson
1eaf877f2e
Don't trash the user's pr on syscalls.
2001-04-24 15:54:23 +00:00
Sheldon Hearn
4721e8a849
Revert previous delta, which was completely bogus.
...
The perceived problem was the symptom of a local error.
2001-04-24 12:30:49 +00:00
Kris Kennaway
345edac558
Call usage() if given more than 1 argument.
...
Submitted by: "Andrew R. Reiter" <arr@watson.org>
Obtained from: OpenBSD
2001-04-24 10:39:17 +00:00
Kris Kennaway
6e76e16fe6
Replace a strcat() with a strlcat(). Partial sync with OpenBSD; more
...
work is needed.
Submitted by: "Andrew R. Reiter" <arr@watson.org>
Obtained from: OpenBSD
2001-04-24 10:33:46 +00:00
Kris Kennaway
1fef4cc97d
sprintf() -> snprintf()
...
Partially submitted by: "Andrew R. Reiter" <arr@watson.org>
Obtained from: OpenBSD
2001-04-24 10:26:00 +00:00
Wes Peters
f39513d3be
Don't build pkg_sign tools if crypto is not installed, or is not
...
being built.
Reviewed by: kkenn
2001-04-24 08:59:40 +00:00
Sheldon Hearn
da82ff05af
Disconnect linux from the build. The buildkernel target has been
...
breaking on linux for more than two days because sys_exit_args
referenced in linux_sysent.c does not exist.
2001-04-24 08:56:42 +00:00
Josef Karthauser
a795418197
MF4S: Syncronise with Luigi's work in -stable.
2001-04-24 07:46:35 +00:00
Josef Karthauser
2ee38db2f5
MF4S: Syncronise with Luigi's work in -stable.
2001-04-24 07:12:34 +00:00
Warner Losh
c23b0b247d
MFS: the MFS still applies to -current until such time as someone fixes
...
rc.diskless2 to use mdconfig rather than mount_mfs. These changes are
still relevant to -current.
2001-04-24 07:02:01 +00:00
Warner Losh
91dd3b538c
Add warning, and resolution, of the fsck and kernel problem
2001-04-24 04:49:21 +00:00
Gregory Neil Shapiro
0a51d0d9fd
${MAKEOBJDIRPREFIX}/usr/src/i386/usr/include/isc was being created as a plain
...
file during the bootstrapping process of a buildworld and contained the
last isc include file to be installed. It was meant to be a directory for
the isc include files.
2001-04-24 02:57:42 +00:00
Brian Somers
da70ad6081
Handle IP over IP (IPPROTO_IPV4) properly.
...
We now unwrap IP/IP and apply filter rules to both the outer
layer (with ``set filter blah x.x.x.x y.y.y.y ipip'') and to
the payload (reinterpreted by the filter rules).
``set log tcp/ip'' will now show both the outer wrapper and
the (reinterpreted) payload contents.
2001-04-24 02:13:34 +00:00
John Baldwin
33a9ed9d0e
Change the pfind() and zpfind() functions to lock the process that they
...
find before releasing the allproc lock and returning.
Reviewed by: -smp, dfr, jake
2001-04-24 00:51:53 +00:00
Ian Dowse
5d69bac493
Pre-dirpref versions of fsck may zero out the new superblock fields
...
fs_contigdirs, fs_avgfilesize and fs_avgfpdir. This could cause
panics if these fields were zeroed while a filesystem was mounted
read-only, and then remounted read-write.
Add code to ffs_reload() which copies the fs_contigdirs pointer
from the previous superblock, and reinitialises fs_avgf* if necessary.
Reviewed by: mckusick
2001-04-24 00:37:16 +00:00
Archie Cobbs
38c7e4a631
Apply 'const' liberally.
...
Fix some other minor glitches.
2001-04-24 00:06:21 +00:00
Greg Lehey
b186f62cbc
Back out previous commit.
...
Requested by: bde
2001-04-23 23:51:17 +00:00
Thomas Moestl
e15480f8dd
Fix a bug introduced in the last commit: vaccess_acl_posix1 only checked
...
the file gid gainst the egid of the accessing process for the
ACL_GROUP_OBJ case, and ignored supplementary groups.
Approved by: rwatson
2001-04-23 22:52:26 +00:00
Orion Hodson
3c43ddee02
Add als4000 subdir.
2001-04-23 21:58:23 +00:00
Orion Hodson
1f2b9fe67a
Initial version of Avance Logic ALS4000 pcm driver.
2001-04-23 21:53:12 +00:00
Ian Dowse
d164d805c7
In fsdb, call sblock_init() which is now necessary to initialise
...
the global variable dev_bsize. Add a prototype for sblock_init()
to fsck.h, and set the return type correctly.
2001-04-23 21:39:14 +00:00
Josef Karthauser
d51352c9b1
MF4S: Syncronise with Luigi's work in -stable.
2001-04-23 20:25:40 +00:00
Jeroen Ruigrok van der Werven
9dabdff52e
Keep my dirty paws off of the $NetBSD$ id's. They're tabbed and should
...
remain so.
Submitted by: bde/obrien
2001-04-23 20:07:21 +00:00
Josef Karthauser
18668d0278
MF4S: Sync with the developments that Luigi's been doing in -stable.
2001-04-23 19:55:03 +00:00
Josef Karthauser
7bba070f1c
MF4S: Remove some unused error messages. (revision 1.1.2.5)
2001-04-23 19:52:13 +00:00
Josef Karthauser
378918c059
Apply style guidelines (using gident to help).
2001-04-23 19:38:41 +00:00
Matt Jacob
2b4169610b
fix it so it compiles again
2001-04-23 18:51:54 +00:00
Josef Karthauser
2e8d39560e
Fix a syntax error.
2001-04-23 18:41:48 +00:00
Matt Jacob
140509ab5d
fix it so it compiles again after twerpage elsewhere
2001-04-23 18:38:01 +00:00
Matt Jacob
3be6e0c249
add this ridiculous include foo so it will compile again
2001-04-23 18:14:41 +00:00
Matt Jacob
ac60aa4908
Fix includes so it compiles again.
2001-04-23 18:08:54 +00:00
Poul-Henning Kamp
cbfc3f7c5c
Update this to reflect changes in config(8) usage.
...
It finds 639 hits on kernel source from before the <sys/mount.h>
change earlier today.
2001-04-23 17:31:16 +00:00
Ruslan Ermilov
3a3799c99e
mdoc(7) police: update HISTORY section.
...
This interface is not available in 4.3-RELEASE.
2001-04-23 15:22:50 +00:00
Ruslan Ermilov
9fdcafcf45
The semantics of the .Os call has been changed. For CURRENT,
...
this currently implies the default argument of "FreeBSD 5.0".
2001-04-23 15:15:49 +00:00
Ruslan Ermilov
7841ac2fa9
Fix the fix in rev.1.34.
...
Makes `cleandir' DTRT if MAKEOBJDIRPREFIX set and not empty,
like in `buildworld' case.
2001-04-23 14:47:40 +00:00
Ruslan Ermilov
60f6f55742
If the world was built using either -DNOCLEAN or -DNOCLEANDIR, it was
...
possible to use old generated doc-* files as the source for new ones.
Wrong -mdoc files would then be installed, and man(1) failed with the
following diagnostics:
mdoc error: end-macro (.em) respecification is not allowed. (#41 )
Should this have been `.Em ...'?
Put helper stuff into `beforedepend' to cleanup old files.
Makefile first infected in rev 1.15.
Reported via: -current
2001-04-23 13:27:35 +00:00
Andrey A. Chernov
74825256ef
Add sranddev.3 to MLINKS
2001-04-23 11:11:00 +00:00
Andrey A. Chernov
4890ae810e
Add #include "un-namespace.h"
2001-04-23 10:38:26 +00:00
Andrey A. Chernov
848422bb7d
srand*dev() fallback code: change ^getpid() to ^(getpid() << 16) to allow
...
change of high word part too to produce more interesting seed distribution.
2001-04-23 10:14:28 +00:00
Ian Dowse
931c04f1a8
Reinstate one more old bugfix that got lost in the tirpc commit:
...
always look up -network and -mask addresses numerically before
trying getnetbyname(). Without this, we may end up attempting DNS
queries on silly names such as "127.0.0.0.my-domain.com". See the
commit log from revisions 1.21 and 1.20 for further details.
2001-04-23 10:12:31 +00:00
Joerg Wunsch
b2bcd87e4f
Fix directory reads of MNT_UNION mounts, where entries present in both
...
layers would be displayed twice.
PR: bin/26498
Submitted by: Olliver Fromme <olli@secnetix.de>
2001-04-23 10:01:38 +00:00
Andrey A. Chernov
99596f82de
Move sranddev() to !ANSI_SOURCE !POSIX_SOURCE section
...
Pointed out by: bde
2001-04-23 09:32:06 +00:00
Greg Lehey
d98dc34f52
Correct #includes to work with fixed sys/mount.h.
2001-04-23 09:05:15 +00:00
Ruslan Ermilov
471eab0d41
This is not a problem but a feature of PMake.
...
Pointed out by: bde
2001-04-23 08:48:42 +00:00