nectar
70e12ffd19
Don't complain about missing NSS methods when built statically. It is
...
annoying and not very useful.
Sponsored by: DARPA, Network Associates Laboratories
2003-04-24 19:57:31 +00:00
jhb
58bf1340a6
Fail to mount a device if the bytes per sector in the BPB is less than
...
DEV_BSIZE or if the number of FAT sectors is zero.
2003-04-24 18:19:19 +00:00
mtm
b41f46abfe
Use $ipnat_program instead of the hardcoded path, which was wron
...
anyways.
Approved by: markm (mentor) (implicit)
Submitted by: leafy <leafy@leafy.idv.tw>
2003-04-24 18:14:52 +00:00
nectar
e24fc5cd21
Catch up with nsdispatch.c: nsdispatch(3) is now `hidden' by
...
namespace.h.
Sponsored by: DARPA, Network Associates Laboratories
2003-04-24 18:05:48 +00:00
nectar
8b5edf7f5b
Catch up with nsdispatch.c: nsdispatch(3) is now `hidden' by
...
namespace.h.
Sponsored by: DARPA, Network Associates Laboratories
2003-04-24 17:41:20 +00:00
wes
2e72e0ae30
Make P_PROTECTED not conflict with P_STOPPED_SIG. Replace
...
P_UNUSED100000 which is *truly* unused, until now.
Submitted by: Robert Drehmel <robert@zoot.drehmel.com>
2003-04-24 16:20:14 +00:00
simokawa
0998f1bbfe
Fix printf warnings for i386 with PAE.
...
Submitted by: harti
2003-04-24 15:27:06 +00:00
ghelmer
e8b73631ee
init_nsm() is executed after a call to daemon(*, 0), so error and
...
warning messages should be logged rather than sent to /dev/null.
PR: bin/45461
2003-04-24 14:38:42 +00:00
kan
571d62789f
Fix a typo in UINT_MAX definition.
2003-04-24 14:25:38 +00:00
des
2e38265cb4
Forced commit to note that the previous commit was made in response to
...
PR: bin/51245
2003-04-24 12:27:01 +00:00
des
9bee0a595d
Remove a bogus null password check which assumed that a user with an empty
...
password must necessarily have an empty pwd->pw_passwd. Also add a check
that prevents users from setting a blank password unless the nullok option
was specified. Root is still allowed to give anyone a blank password.
2003-04-24 12:26:25 +00:00
des
85e31bc1f4
Add nullok to the pam_unix line.
2003-04-24 12:22:42 +00:00
des
4e35cc9041
It seems that 1 was not a magic value as I thought, but a coincidence.
...
Instead of applying the adjustment to processes with a start time of 1,
apply it to all processes with a start time of less than 3600.
None of this would be necessary if the start times were recorded in ticks
instead of seconds and microseconds.
2003-04-24 12:12:06 +00:00
tjr
bf8bb3cbd9
Do a better job of calculating the RSS for swapped-out processes:
...
don't include the kernel stacks of swapped-out threads in the page count,
but do include the alternate kernel stack. jhb provided some helpful
comments on this.
PR: 49102
2003-04-24 11:03:04 +00:00
hmp
0ca929541c
device s/acpica/acpi/
...
Noticed by: Stefan Farfeleder <stefan@fafoe.dyndns.org>
Approved by: des (mentor)
2003-04-24 09:54:18 +00:00
maxim
c9aba5bab8
Aristotle dies in 02 Oct 322 BC not in March.
...
PR: misc/46440
Submitted by: Sergey A. Osokin <osa@freebsd.org.ru>
MFC after: 4 days
2003-04-24 09:54:02 +00:00
simokawa
5f3a7ead43
Fix printf warning for RELENG_4.
2003-04-24 09:27:17 +00:00
maxim
0a8982360c
Fix a typo: "Managment" -> "Management".
...
PR: bin/47343
Submitted by: Jeremy C. Reed <reed@reedmedia.net>
MFC after: 4 days
2003-04-24 09:16:01 +00:00
mtm
e4ea8b6549
o Add support for running /etc/rc.early
...
o Re-run through /etc/sysctl.conf a second time just before we set
the securelevel.
Approved by: markm (mentor) (implicit)
Reviewed by: dougb
2003-04-24 08:27:29 +00:00
mtm
a6c5ee3cc4
Make ipfilter, ipnat, ipmon, and ipfs behave more like the old rc.
...
o group them together so they run one right after another
o use the NetBSD supplied ipfs script instead of tacking
it on to the end of ipnat
o Load the ipl module in ipnat and ipfilter, if it's not already
loaded
o In ipmon and ipnat show a warning if neither ipfilter nor
ipnat is enabled or the ipl module is not loaded, and exit
Approved by: markm (mentor) (implicit)
Tested by: leafy <leafy@leafy.idv.tw>
2003-04-24 08:20:47 +00:00
tjr
2b308e25a0
Free mount credentials (mnt_cred) when freeing the mount struct
...
in failure cases to avoid leaking struct ucreds, and ultimately
leaking struct uidinfo references.
2003-04-24 08:16:06 +00:00
simokawa
453509aad1
Add some IEEE 1394 OHCI chips.
...
Partially submitted by: Tetsuya Ryuchi <ryuchi@ryuchi.org>
PR: misc/51336
2003-04-24 07:29:52 +00:00
alc
a91c48e613
- Move swap_pager_isswapped()'s prototype to a more logical place.
2003-04-24 05:29:27 +00:00
alc
87da2c3cf3
- Acquire the vm_object's lock when performing vm_object_page_clean().
...
- Add a parameter to vm_pageout_flush() that tells vm_pageout_flush()
whether its caller has locked the vm_object. (This is a temporary
measure to bootstrap vm_object locking.)
2003-04-24 04:31:25 +00:00
des
51f01cb3f7
When filling out a kinfo_proc structure, if we come across a process
...
whose p_stats->p_start has the magic value 1, replace it with boottime.
Some users were apparently confused by the fact that ps(1) reported a
start time in early 1970 for system processes.
2003-04-24 03:37:59 +00:00
davidxu
7dbf40d20d
Don't print anything for fault at cpu_switch_load_gs, just like other
...
code to recover fault in doreti because of invalid segment registers,
silently push error to userland.
2003-04-24 01:48:59 +00:00
gad
e17d2e5a6f
Document support for the new -s and -R command-line options, and
...
the 'N' flag. These were coded in March as revisions 1.55 and 1.56
of newsyslog.c. I intend to MFC all the matching changes next week.
This also reorganizes the description of the 'flags' field to give
list of the valid flags, instead of a long paragraph explaining
each of the possible values.
Obtained from: NetBSD (in spirit at least, for -s and N)
MFC after: 1 week
2003-04-24 01:34:40 +00:00
des
ace917243e
Don't convert the kernel ident to uppercase when writing the Makefile.
2003-04-24 00:52:58 +00:00
archie
6649125e4d
Tweak to previous commit: increment ifp->if_iqdrops if the m_copy() fails.
...
Suggested by: Neelkanth Natu <neelnatu@yahoo.com>
2003-04-23 23:45:57 +00:00
jkh
5d673c0d92
Sync with latest and greatest Apple sources (which, among other things, fix
...
the style flag).
Submitted by: Conrad Minshall <conrad@apple.com>
Reviewed by: jkh
Obtained from: Apple Computer, Inc.
2003-04-23 23:42:23 +00:00
imp
e2a59d9b09
Remove obsolete compatibility ifdef.
2003-04-23 23:41:48 +00:00
imp
847a005af4
Copy CIS3 and CIS4 strings into the kernel too.
...
PR: 51333
Submitted by: Scott Mitchell
2003-04-23 23:40:28 +00:00
imp
5c827309fc
1. Allow drivers to query CIS strings from OLDCARD.
...
2. Include backwards compatibility good for the moment (eventually will
be turned off in current, but allow for a short transition period).
PR: 51333
Submited by: Scott Mitchell (1)
MFC after: 2 weeks
2003-04-23 23:39:21 +00:00
imp
1848692e44
Add accessor for cis4 string. Neither OLDCARD nor NEWCARD support
...
this yet, but that will change soon.
Pr: 51333
Submited by: Scott Mitchell
2003-04-23 23:32:53 +00:00
deischen
5764fb3f84
Add a macro to get the current thread mailbox pointer.
2003-04-23 21:49:34 +00:00
deischen
4dac1223a3
Remove the i386-specific hack (well, we only run on i386 anyways)
...
to always set %gs when resuming a thread.
Install this library as libpthread instead of libkse.
2003-04-23 21:48:29 +00:00
deischen
f8027ceb95
Protect thread errno from being changed while operating
...
on behalf of the KSE.
Add a kse_reinit function to reinitialize a reused KSE.
Submitted by: davidxu
2003-04-23 21:46:50 +00:00
kan
b86b779077
Add a new sys/limits.h file which in turn depends on machine/_limits.h
...
to get actual constant values. This is in preparation for machine/limits.h
retirement.
Discussed on: standards@
Submitted by: Craig Rodrigues <rodrigc@attbi.com> (*)
Modified by: kan
2003-04-23 21:41:59 +00:00
phk
ffd04bfbdd
Introduce a g_waitfor_event() function which posts an event and waits for
...
it to be run (or cancelled) and use this instead of home-rolled versions.
2003-04-23 21:28:27 +00:00
gad
89702db8fc
Document support for the <default> entry, which was implemented in
...
revision 1.50 of newsyslog.c , back in February. I intend to MFC
those changes soon.
MFC after: 4 days
2003-04-23 21:26:12 +00:00
phk
7a7d406136
More of the event stuff can now be private to geom_event.c
2003-04-23 20:54:42 +00:00
phk
3bbfe9f43b
Rename g_call_me() to g_post_event(), and give it a flag
...
argument to determine if we can M_WAITOK in malloc.
2003-04-23 20:46:12 +00:00
johan
f0e2ab20a0
style(9): use NULL when assigning/comparing a char *,
...
consitently compare fileid with 0 using == and !=.
Reviewed by: silence on @audit
2003-04-23 20:33:57 +00:00
johan
4c6fe8967c
Make this WARNS=5 clean by adding () in 'if (a || (b && c))'.
...
Look at by: sebastian.ssmoller@web.de on audit@
2003-04-23 20:26:21 +00:00
phk
b4c26d2e1a
Remove the now unused hardcoded g_post_event() event support.
2003-04-23 20:25:33 +00:00
johan
1bab2ea14b
Make this WARNS=5 clean by using %j and (uintmax_t).
...
Look at by: sebastian.ssmoller@web.de on audit@
2003-04-23 20:24:13 +00:00
johan
e567096f00
These are WARNS=5 clean, mark them as such to keep them that way.
...
Look at by: sebastian.ssmoller@web.de on audit@
2003-04-23 20:22:33 +00:00
jhay
7c3a9405f3
Use bus_space*() instead of in*() and out*().
2003-04-23 20:22:32 +00:00
phk
7c462ceb2b
Turn EV_NEW_PROVIDER into a g_call_me() event.
2003-04-23 20:16:13 +00:00
phk
67a31a6107
Convert EV_SPOILED event to use g_call_me().
2003-04-23 20:06:38 +00:00