Maxime Henrion
2b4edb69f1
Move every code related to mount(2) in a new file, vfs_mount.c.
...
The file vfs_conf.c which was dealing with root mounting has
been repo-copied into vfs_mount.c to preserve history.
This makes nmount related development easier, and help reducing
the size of vfs_syscalls.c, which is still an enormous file.
Reviewed by: rwatson
Repo-copy by: peter
2002-07-02 17:09:22 +00:00
Julian Elischer
7e8f051f42
check in the version if this that compiles, not the one that doesn't
2002-07-02 16:57:53 +00:00
Julian Elischer
443fd6da2a
Make some more debugging code go away when debugging is not turned on.
2002-07-02 16:37:56 +00:00
Johan Karlsson
e88001443e
's/rather then/rather than/'
...
PR: 38096
Submitted by: Chris Pepper <pepper@rockefeller.edu>
While I'm here correct some typos pointed out by ispell.
Approved by: sheldonh (mentor)
MFC after: 1 week
2002-07-02 14:33:52 +00:00
Dag-Erling Smørgrav
9f95720321
Version bump for mm_answer_pam_respond() fix.
2002-07-02 13:07:37 +00:00
Dag-Erling Smørgrav
669e440e50
Fix a braino in mm_answer_pam_respond() which would cause sshd to abort if
...
PAM authentication failed due to an incorrect response.
2002-07-02 13:07:17 +00:00
Ruslan Ermilov
8479adc1d3
Reimplemented bsd.nls.mk using bsd.files.mk and bsd.links.mk.
...
Provided the (previously missing) dependency on source files
for intermediate .msg files.
Provided the default for NLSSRCDIR (defaults to .CURDIR).
Slightly changed the API: NLS should now list plain locale
names, without the .msg suffix.
When included from bsd.prog.mk, NLSNAME defaults to PROG.
2002-07-02 12:37:09 +00:00
Ruslan Ermilov
84f94a79a0
Handle installation of hard and symbolic links via a seperate .mk file.
2002-07-02 12:16:54 +00:00
Hajimu UMEMOTO
b0f06def52
Cope with 2292bis-01 getaddrinfo (no NI_WITHSCOPEID, always attach
...
scope identifier).
MFC after: 3 weeks
2002-07-02 11:11:17 +00:00
Hajimu UMEMOTO
f8fa093e82
Cope with 2292bis-01 getaddrinfo (no NI_WITHSCOPEID, always attach
...
scope identifier).
Approved by: des
MFC after: 3 weeks
2002-07-02 11:09:02 +00:00
Hajimu UMEMOTO
15e4dafc91
Make NI_WITHSCOPEID a default (always on), to synchronize
...
with recent 2553bis.
Obtained from: KAME
MFC after: 3 weeks
2002-07-02 11:05:31 +00:00
Christian Weisgerber
0c57ad7285
LP64 cleanup: don't cast pointer to int.
2002-07-02 10:51:09 +00:00
Jonathan Mini
13990766ef
Check retifma for NULL before using it.
...
PR: kern/9391
Submitted by: Assar Westerlund <assar@sics.se>
MFC after: 3 days
2002-07-02 08:23:00 +00:00
Jonathan Mini
0830bd135e
Add -g option, which restricts printing of the gecos fields to just the user's
...
real name.
PR: bin/39462
Submitted by: Mike Makonnen <makonnen@pacbell.net>
Obtained from: NetBSD
MFC after: 1 week
2002-07-02 08:00:20 +00:00
Julian Elischer
8b768fc82b
When going back to SLEEP state, make sure our
...
State is correctly marked so.
2002-07-02 05:40:51 +00:00
Julian Elischer
d5cb7e14f6
Fix failure to correctly transition back to sleep mode.
2002-07-02 05:33:46 +00:00
Takanori Watanabe
4ec593593a
Make interrupt driven EC transaction optional.
2002-07-02 03:38:07 +00:00
Garance A Drosehn
c06ffb8977
Remove the backup-versions ("x*") of various lpc commands that were
...
recently rewritten. No one in -current has reported any problems with
the newer versions.
MFC after: 3 weeks
2002-07-02 02:48:21 +00:00
Warner Losh
85f6b8fda7
Clarify version 1.68 to more accurately describe the intent of the change to
...
try to avoid ambiguous cases in the future.
Wording approved by: julian (early draft), grog, rwatson, wes and maybe other
members of core I'm forgetting.
2002-07-02 01:39:35 +00:00
Daniel Eischen
c3d580c9a1
Fix a couple of minor nits that prevented this from compiling.
...
Pointed out by: julian
2002-07-02 01:26:16 +00:00
Brian Somers
cfbd984f1c
Fix a tyop
2002-07-02 01:03:10 +00:00
Brian Somers
3285bb3c97
Don't trust the MPPE key lengths passed back from the RADIUS server.
...
Instead, use the correct values based on the number of bits actually
negotiated.
Spotted by: Sergey Korolew <ds@rt.balakovo.ru>
2002-07-02 00:47:24 +00:00
Brian Somers
e0efa79664
Remove some misleading/wrong diagnostics
2002-07-02 00:12:24 +00:00
Peter Wemm
c781aea8ba
#include <sys/ktrace.h> would be useful too. (for ktrace_mtx)
2002-07-01 23:18:08 +00:00
Warner Losh
a9df73aa7b
Document what splnet and splimp are in FreeBSD
2002-07-01 22:08:43 +00:00
Luigi Rizzo
c50cb82930
Move creation of password databases before starting daemons,
...
otherwise the latter might fail because userids are not found.
2002-07-01 21:30:39 +00:00
Ian Dowse
f2f2285a6a
The jail syscall calls chroot, which is not mpsafe, so put back a
...
mtx_lock(&Giant) around that call.
Reviewed by: arr
2002-07-01 20:46:01 +00:00
Peter Wemm
1e9b3d9142
Add #include "opt_ktrace.h"
2002-07-01 19:49:04 +00:00
Juli Mallett
a7a88ab828
DEBUG is a knob that means something else in FreeBSD, use LIBUFS_DEBUG to
...
turn on tracing.
2002-07-01 18:20:48 +00:00
Juli Mallett
585e540203
In getino, have our DEBUG message in the unhandled case mention that it
...
does not know what sort of UFS filesystem this is.
Add some DEBUG(NULL)'s to function entry points.
2002-07-01 18:19:20 +00:00
Juli Mallett
f201bc9c84
Back out my minorly disputed and possibly not well thought out changes to how
...
arguments are processed, at least temporarily.
2002-07-01 18:03:30 +00:00
Ian Dowse
6bd521df93
Use indirect function pointer hooks instead of #ifdef SOFTUPDATES
...
direct calls for the two places where the kernel calls into soft
updates code. Set up the hooks in softdep_initialize() and NULL
them out in softdep_uninitialize(). This change allows soft updates
to function correctly when ufs is loaded as a module.
Reviewed by: mckusick
2002-07-01 17:59:40 +00:00
Juli Mallett
b0346d3494
libufs does not need built before most things, after all.
...
Submitted by: bde, ru
2002-07-01 17:51:43 +00:00
Mark Murray
301777f2d2
Modernise; ISOify, use __FBSDID(), use headers instead of hand-declaring.
...
Fix easy warnings.
2002-07-01 16:40:33 +00:00
Johan Karlsson
16429f2c6c
Add my DoB
...
Approved by: sheldonh (mentor)
2002-07-01 16:02:05 +00:00
Ruslan Ermilov
b4840de98d
bsd.subdir.mk already has these dependencies coded.
2002-07-01 14:51:42 +00:00
Ruslan Ermilov
1220a0241f
Get rid of the bogus dependencies between beforeinstall, realinstall,
...
and afterinstall targets. Make sure they are run in sequence in the
-j case.
This fixes the recent breakage with beforeinstall being run _after_
realinstall.
Reported by: knu
2002-07-01 14:49:16 +00:00
Chris Costello
de19436f24
Rename CAVEAT' to
SECURITY CONSIDERATIONS' and move it up to
...
the correct location--this section consists solely of security
considerations information.
Sponsored by: DARPA, NAI Labs
Obtained from: TrustedBSD Project
2002-07-01 14:41:05 +00:00
Maxim Konovalov
3ded9dcdae
Remove trailing whitespaces.
2002-07-01 14:30:38 +00:00
Maxim Konovalov
3af48c420b
Move 'byte_count' calculation just before 'recvurg' check. It is a global
...
variable and used in myoob().
PR: bin/38928
Submitted by: Oliver Fromme <olli@secnetix.de>
MFC after: 1 month
2002-07-01 14:29:44 +00:00
Robert Drehmel
47e151dd7a
- Use (OFF_TO_IDX(off) - pi) instead of (OFF_TO_IDX(off - IDX_TO_OFF(pi))).
...
- Reformat a comment.
2002-07-01 14:14:07 +00:00
Maxim Konovalov
21ee796112
Remove the last EOF spaces I missed in rev. 1.43.
...
MFC after: 1 week
2002-07-01 13:18:52 +00:00
Brian Somers
27cc91fbf8
Remove trailing whitespace
2002-07-01 11:19:40 +00:00
Ian Dowse
5346934fe7
Add the ffs bits necessary to support unloading of the ufs kernel
...
module. This adds an ffs_uninit() function that calls ufs_uninit()
and also calls a new softdep_uninitialize() function. Add a stub
for softdep_uninitialize() to cover the non-SOFTUPDATES case.
Reviewed by: mckusick
2002-07-01 11:00:47 +00:00
David Malone
0567678261
Remove double #include <sys/cdef.h> and __FBSDID.
...
PR: 40053
Submitted by: Dan Lukes <dan@obluda.cz>
2002-07-01 10:46:39 +00:00
Sheldon Hearn
8e887555b5
Reconnect gdb info file to the build.
...
Submitted by: Szilveszter Adam <sziszi@bsd.hu>
2002-07-01 07:58:18 +00:00
Warner Losh
06596d3769
Add a note to UPDATING saying that now is a bad time to update due
...
to some KSE/libc_r interaction.
Submitted by: julian
2002-07-01 07:25:05 +00:00
Ruslan Ermilov
93329c3c6e
Fixed typos.
2002-07-01 07:25:02 +00:00
Doug Barton
4149dd4890
Unbreak build by removing 10.named for now
2002-07-01 05:44:51 +00:00
Juli Mallett
a306cfd13a
Add libufs to prebuild_libs, since lots of things will want it, in time.
2002-07-01 05:43:11 +00:00