Commit Graph

82243 Commits

Author SHA1 Message Date
ru
34a52f8114 Need to run lint1 from ${WORLDTMP}/usr/libexec during buildworld.
Spotted by:	fjoe
2002-10-23 12:05:27 +00:00
tjr
4b54f9209b Fix the NetBSD RCS id's on these files; somehow they were initially
committed with the tags unexpanded.
2002-10-23 11:08:40 +00:00
tjr
41c07a02f3 Reimplement more efficiently, using a single forward scan (like strrchr(3))
instead of scanning forwards to find the end of the string then scanning
backwards to find the character.
2002-10-23 10:52:04 +00:00
tjr
21e9810e52 Reimplement, handling the case where c == L'\0' correctly and fixing
some style(9) bugs.
2002-10-23 10:47:47 +00:00
phk
a984dccf21 Add the new extra argument also in the alpha case. 2002-10-23 10:47:00 +00:00
ume
f04b173318 query ip6.arpa then ip6.int for IPv6 reverse lookup. follows RFC3152.
Obtained from:	KAME
MFC after:	1 week
2002-10-23 10:45:09 +00:00
des
9e826782d8 Whitespace cleanup. 2002-10-23 10:26:54 +00:00
markm
bb23ca0fbc Be consistent about declaring a function "static", and consistent
about the type of argv.
2002-10-23 10:23:38 +00:00
markm
d81e414bae Constify, staticify, rationalise types and fix other related warnings. 2002-10-23 10:20:01 +00:00
tjr
ba3593cbca Add a Standards section, claiming conformance to IEEE Std. 1003.1-2001.
Also add a note to the Bugs section pointing out that strerror() and
perror() share the same static buffer.
2002-10-23 10:16:21 +00:00
markm
62fd5f2afa Constify to squash some warnings. 2002-10-23 10:15:44 +00:00
markm
04c298be62 Very minor whitespace/style nit. 2002-10-23 10:14:30 +00:00
markm
c079039ac4 Put parentheses around function-like macros to shut up warnings. 2002-10-23 10:12:12 +00:00
maxim
68f8fd76ed Kill EOL spaces.
Approved by:	luigi
MFC after:	1 week
2002-10-23 10:07:55 +00:00
maxim
11a1047118 Use syslog for messages about dropped sessions, do not flood a console.
Suggested by:	Eugene Grosbein <eugen@kuzbass.ru>
Approved by:	luigi
MFC after:	1 week
2002-10-23 10:05:19 +00:00
des
3198f288eb Translate to English. 2002-10-23 08:55:14 +00:00
des
96ba5a4261 This commit was generated by cvs2svn to compensate for changes in r105770,
which included commits to RCS files with non-trunk default branches.
2002-10-23 08:21:00 +00:00
des
9bd2a545b1 (MFP4#19900) Write message to stdout, not stderr.
Submitted by:	jmallet
Sponsored by:	Rachel Hestilow <rachel@jerkcity.com>
2002-10-23 08:21:00 +00:00
assar
93c47cddbd update version numbers to (consistenly):
krb4 1.0.5 fb1 (including the kadmind fix)
heimdal 0.5 fb1 (including the kadmind fix)
2002-10-23 06:12:21 +00:00
assar
9c929231e1 This commit was generated by cvs2svn to compensate for changes in r105765,
which included commits to RCS files with non-trunk default branches.
2002-10-23 06:10:08 +00:00
assar
1b79516e3f import 1.29 to fix buffer overflow:
check the length of the authenticator and rlen

Obtained from:	Heimdal CVS
2002-10-23 06:10:08 +00:00
ue
66228a3cab Add two missing </para> I noticed during translation. 2002-10-23 06:02:16 +00:00
mckusick
24e96c98fe Missplaced FREE_LOCK causes a panic when hit while taking a snapshot.
Sponsored by:	DARPA & NAI Labs.
2002-10-23 05:14:06 +00:00
scottl
301cc7b273 Hook raidctl up to the build.
Submitted by:	tjr
2002-10-23 04:50:34 +00:00
tjr
937c1a6384 Replace this wcsncpy() implementation with one based on strncpy.c to fix
two major bugs:
- off-by-one overflow when the length of the source string exceeds or
  equals the destination buffer size.
- old version was not padding the destination buffer with null wide chars
2002-10-23 04:35:25 +00:00
rwatson
2bcf7f068c Teach ifconfig(8) how to print and set the MAC labels on network
interfaces using the 'mac' argument.  Without MAC support in the
kernel, this does not change the behavior of ifconfig.

Approved by:	re
Obtained from:	TrustedBSD Project
Sponsored by:	DARPA, Network Associates Laboratories
2002-10-23 03:40:47 +00:00
marcel
081f0afc3e Don't complain if we have an inconsistent map that may be the
result of an incomplete migration. An incomplete migration is
one where the MBR is not turned into a PMBR after creating the
GPT. This early in the game it's more convenient to allow the
inconsistency, because that avoids that we have to destroy the
MBR partitioning for now.
2002-10-23 03:33:06 +00:00
rwatson
9c5475732e Add a new '-s' option to su(1): if the flag is present, attempt to
also set the user's MAC label as part of the user credential setup
by setting setusercontext(3)'s SETMAC flag.  By default, change only
traditional process properties.

Approved by:	re
Obtained from:	TrustedBSD Project
Sponsored by:	DARPA, Network Associates Laboratories
2002-10-23 03:19:34 +00:00
rwatson
6e44996655 If LOGIN_SETMAC is set and MAC is enabled in the kernel, then see
if the user has a 'label' entry in their login class.  If so, attempt
to set that label on the process as part of the credential setup.  If
we're unable to parse the label, or unable to set the label, fail.
In the future, we may also want to warn if a label is set but the
kernel doesn't support MAC.

Approved by:	re
Obtained from:	TrustedBSD Project
Sponsored by:	DARPA, Network Associates Laboratories
2002-10-23 03:17:22 +00:00
rwatson
fa51007874 Introduce simple command line tools to manage MAC labels on processes and
files.  Basically wrappers for mac_{get,set}_{file,link,pid,proc}(3).
Man pages to be updated shortly.

Approved by:	re
Obtained from:	TrustedBSD Project
Sponsored by:	DARPA, Network Associates Laboratories
2002-10-23 03:15:24 +00:00
kan
b653eced35 Handle binaries with arbitrary number PT_LOAD sections, not only
ones with one text and one data section.

The text and data rlimit checks still needs to be fixed to properly
accout for additional sections.

Reviewed by:	peter (slightly different patch version)
2002-10-23 01:57:39 +00:00
jmallett
965d783bfd De-obfuscate and correct the include path handling for SysV style includes.
PR:		32759
Submitted by:	Mark Valentine
Reviewed by:	Matthew Emmerton" <matt@gsicomp.on.ca>
MFC after:	15 days
2002-10-23 01:57:33 +00:00
kan
ee47624ee4 Add support for binaries with arbitrary number of PT_LOAD sections.
Reviewed by:	peter
2002-10-23 01:43:29 +00:00
keramida
108d37ed64 Minor grammar fix: referenced to -> in reference to. 2002-10-22 23:36:10 +00:00
keramida
295c9ea598 Add description of fetch-recursive target. 2002-10-22 23:11:38 +00:00
keramida
7e86d5f8c8 Refer to doc/en_US.ISO8859-1 for documentation. 2002-10-22 23:06:29 +00:00
keramida
76baed53a5 Split an excessively long sentence. 2002-10-22 22:52:24 +00:00
suz
4c25c83254 fixed a kernel crash by "ifconfig stf0 inet 1.2.3.4"
MFC after:	1 week
2002-10-22 22:50:38 +00:00
keramida
bc98f7e56f Improve wording by removing repetitive use of 'default'. 2002-10-22 22:43:24 +00:00
keramida
2324a81171 The ipfw module is only loaded if necessary. 2002-10-22 22:39:18 +00:00
keramida
4cfc71f82a s/then/than/ where appropriate. 2002-10-22 22:36:56 +00:00
keramida
e2708ebfb6 rulset -> ruleset 2002-10-22 22:34:29 +00:00
thomas
d216db740f Fill in missing parts of the ATAPI/CAM XPT: implement XPT_RESET_BUS
and XPT_RESET_DEV.

In order to properly handle reset requests whether they originate in the
ATA layer (atacontrol reinit) or from the CAM layer (camcontrol reset)
ata_reinit does not cause the SIM to be deallocated anymore. The SIM
is now unconditionnally created for each ATAPI bus.

This change may cause existing bus ids to change on some setups.

Reviewed by:	roberto
Approved by:	sos
2002-10-22 20:18:51 +00:00
jmallett
8ac3ee3960 Forgot to include <errno.h> when using 'errno' here. 2002-10-22 19:55:44 +00:00
jmallett
fb4140c848 Use an error message closer to old dumpfs(8) in the case of truncated/no
superblock.

Submitted by:	kkenn

Can't use it verbatim, at least I hate to, as the ", skipped" bit doesn't
make much sense in a library, to me.
2002-10-22 19:36:10 +00:00
jmallett
5cc8ad1dc7 When errno is not set, do not use warn(3). 2002-10-22 19:31:05 +00:00
jmallett
a496f0f492 Use the libufs_printerror() function, which hopefully will deconfuse users
getting error cases in a libufsificated dumpfs(8).

Poked by:	kkenn
2002-10-22 19:27:09 +00:00
jmallett
8731837c6f Add the concept of a per-disk error string, and a function which prints it
along with the errno, if one is set.
2002-10-22 19:25:58 +00:00
rwatson
53b5b26018 Style fix: space between 'switch' and '('. 2002-10-22 19:01:49 +00:00
jhb
d6fbdecd8b Don't dereference the 'x' pointer if it is NULL, instead skip the
assignment.  The netsmb code likes to call these functions with a NULL
x argument a lot.

Reported by:	Vallo Kallaste <kalts@estpak.ee>
2002-10-22 18:44:59 +00:00