7968 Commits

Author SHA1 Message Date
ru
1f27ccc479 MFC: Fix a bug converting a variable from the numeric type to a string.
PR:		bin/104795
Approved by:	re (hrs)
2006-10-29 07:27:27 +00:00
glebius
b758501363 MFC rev. 1.93, 1.94:
- Print the number of allocation failures in UMA zones.
  - Add comma after REQUESTS field missed in previous commit.
  - Widen some columns; make width of header columns less cryptic.

  PR:	kern/102940

Approved by:	re (hrs)
2006-10-28 18:15:13 +00:00
cvs2svn
84cd002aa6 This commit was manufactured by cvs2svn to create branch 'RELENG_6'. 2006-10-26 22:33:39 +00:00
ru
80ffba5eff MFC: Document that unexpand(1)'s -a and -t options are exclusive.
PR:		docs/85063
Approved by:	re (hrs)
2006-10-16 13:16:40 +00:00
ru
819b3b78b5 MFC: 1.34: Document all character classes our tr(1) implementation
supports, mention that some of them are extensions to POSIX.

PR:		docs/85062
Approved by:	re (hrs)
2006-10-16 12:29:55 +00:00
ru
cc327e7e5e MFC: 1.46: Don't go beyond the provided string when parsing `\'.
PR:		bin/99985
Approved by:	re (hrs)
2006-10-16 11:51:18 +00:00
ru
93cf3d7327 MFC: 1.16: At least one argument is required.
Approved by:	re (hrs)
2006-10-16 11:50:36 +00:00
ceri
a31cd44ffa MFC revision 1.80:
Update the list of POSIX extensions.

Approved by:	re (hrs)
2006-10-15 11:54:25 +00:00
flz
77fcdd7121 MFC:
Add a missing new line at the end of the australian calendar file to
  suppress and error message.

      src/usr.bin/calendar/calendars/calendar.australia: rev 1.6 -> 1.7

PR:		conf/99490
Submitted by:	Shaun Branden <shaun@pcuse.com>
Approved by:	re (bmah)
2006-10-11 15:50:28 +00:00
maxim
c3620bcdb1 MFC rev. 1.12: don't leak fd on error, change parselength() prototype.
Approved by:	re (kensmith)
2006-10-08 05:32:54 +00:00
delphij
3642b28800 MFC rev. 1.16 (iedowse):
Add missing parentheses to fix a segmentation fault that is easily
reproducable with `jot -s " " 400 1 | column -t'. The bug was present
in the the original CSRG 'column -t' added in 1989.

Approved by:	re (kensmith)
2006-10-08 02:24:33 +00:00
maxim
a8ac22fd14 MFC rev. 1.12 - 1.14: add a Gedenktag, strip eol w/spaces, remove an
obsoleted entry.

Approved by:	re (kensmith)
2006-10-07 17:30:32 +00:00
flz
f5fb83f5f5 MFC: Fix Mother's/Father's day in most case.
src/usr.bin/calendar/calendars/fr_FR.ISO8859-1/calendar.jferies: rev 1.1 -> 1.2
      src/usr.bin/calendar/calendars/fr_FR.ISO8859-1/calendar.fetes: rev 1.1 -> 1.2

PR:		misc/79415
Submitted by:	thierry
Approved by:	re (bmah)
2006-10-07 15:25:38 +00:00
delphij
e26232d941 MFC revision 1.101 (cognet@):
A temporary fix that in case of pwd == NULL, do not call audit_logout()
which attempts to deference it.  This is not quite correct, as we should
audit the event even it is not attributable to a specific user.  For now,
just put the temporary fix in, so login(1) would not get signal 11 upon
the case that for instance, ^D at the Login: prompt without providing a
valid login before.i

Approved by:	re (rwatson)
PR:		bin/103873
Discussed with:	rwatson, csjp
2006-10-06 14:58:16 +00:00
ceri
9a810f5776 MFC: id.1, revision 1.18; id.c, revision 1.31
Add a -a option as a no-op for Solaris compatibility, as briefly
   discussed on src-committers.  This is intentionally not included in
   the usage() function as it would confuse the output too much.

Approved by:	re (bmah)
2006-10-05 20:52:21 +00:00
matteo
80b8235497 MFC rev. 1.12 and rev. 1.13
rev. 1.12 : use socklen_t where appropriate
rev. 1.13 : Set txrx_error to 1 when we reach abort. This makes the program correctly set the exit code.
The PR has further details on this. [2]

PR:		bin/103206 [2]
Approved by:	re@ (bmah@)
2006-10-02 18:43:57 +00:00
rwatson
bccd96610d Merge id.c:1.30 from HEAD to RELENG_6:
Fix both arguments to err().

Submitted by:	ru
Approved by:	re (bmah)
2006-10-02 17:23:14 +00:00
csjp
978437c538 Fix mis-merge
Noticed by:	Pawel Worach
Approved by:	re@ (kensmith)
2006-09-30 03:22:42 +00:00
marck
6d3aa0426b MFC rev 1.28:
Fix bug introduced in rev 1.23:

   pw_equal does not check crypted password field, so one cannot change
   crypted password keeping other fields intact.

Approved by:	re (kensmith)
2006-09-29 06:13:20 +00:00
danger
5789ef878f remove reference to nonexistent pam(8) manual page.
Approved by: re (bmah), keramida (mentor)
2006-09-28 20:37:38 +00:00
rwatson
705ed6f94a Merge Makefile:1.12, id.1:1.16,1.17, id.c:1.28,1.29 from HEAD to RELENG_6:
Add a -a argument to id(1), which causes id(1) to print out process
  audit properties, including the audit user id.  This can be quite
  helpful in debugging audit problems.

  Obtained from:  TrustedBSD Project

  Rename "-a" flag to "-A" in order to avoid conflicting with the "-a" flag
  as found on Solaris.

  Requested by:   ceri

Approved by:	re (hrs)
2006-09-26 02:12:05 +00:00
ceri
5cb08417b9 Bump .Dd.
Reminded by:	ru
Approved by:	re (implicit)
2006-09-23 22:01:51 +00:00
ceri
874a689603 MFC:
src/usr.bin/truncate/truncate.1         r1.33
     src/usr.bin/truncate/truncate.c         r1.10 through r1.11

Approved by:	re (hrs), pjd
2006-09-23 15:34:23 +00:00
csjp
b1ba1baa2c MFC revision 1.80 su.c
MFC revision 1.41 Makefile

  Log:
  Integrate audit_submit(3) bits into su. This means that records for
  successful and failed su attempts will be recorded using the AUE_su
  event type (login or lo class) if auditing is present in the system.
  Currently, the records will have a header, subject, text (with the
  actual diagnostics), a return and trailer token.

This should conclude the userspace audit bits for 6.2, there will be
a lot more to come in future releases!

Reviewed by:	rwatson, cperciva
Approved by:	re@ (mux)
2006-09-22 02:29:54 +00:00
ru
93b0c1d4f4 MFC:
- Don't require a space between -[fv] and its argument.
- Initial memory allocation for fields was off-by-one.

Approved by:	re (kensmith)
2006-09-18 15:28:12 +00:00
cvs2svn
335209b3be This commit was manufactured by cvs2svn to create branch 'RELENG_6'. 2006-09-16 10:44:34 +00:00
csjp
38402b50e4 MFC the audit modifications to login so audit context is properly set and
the correct audit records are submitted.

Reviewed by:	rwatson
Obtained from:	TrustedBSD Project
2006-09-05 23:53:21 +00:00
delphij
bc51d50b10 MFC 1.3:
In rev. 1.2 we have introduced a fallback handler for files with unknown
extensions.  This seems to be unnecessary and prevents less(1) from being
able to detect file changes, so remove the part.

Submitted by:	Eric Huss <e-huss netmeridian com>
PR:		bin/102624
Discussed with:	des
2006-09-03 16:10:31 +00:00
rwatson
51af8b4b74 Merge mkioctls:1.38 from HEAD to RELENG_6:
Add audit.h to mkioctls inclusion list: audit pipe ioctls need access
  to the audit types.

Obtained from:	TrustedBSD Project
2006-09-03 08:29:20 +00:00
jkoshy
61f2eb1f5a MFC r1.15: "Manual page tweaks." 2006-09-02 04:35:40 +00:00
se
3fd28a9ea7 MFC: 1.77 Fix logic for skipping of idle processes. 2006-09-01 18:12:10 +00:00
yar
c900301bcd MFC rev 1.6, 1.7:
Install pkill/pgrep to /bin to the benefit of rc scripts.
Create compatibility symlinks from /usr/bin though.

Approved by:	re (mux & kensmith)
2006-09-01 14:32:35 +00:00
delphij
908e4226c9 MFC: less 3.9.4 2006-08-29 18:36:51 +00:00
bms
df670972b1 MFC: Add a new command-line option, -P, which allows the user to specify
an arbitrary port to which syslog messages are to be sent.

PR:		bin/54026
2006-08-25 12:47:58 +00:00
maxim
2111a78e3b MFC rev. 1.14: simple strcpy/strcat replacement. 2006-08-20 20:31:10 +00:00
maxim
79236b7703 MFC rev. 1.34: fix the date of LZ 129 Hindenburg crash. 2006-08-20 20:25:55 +00:00
kientzle
aeb96a35d9 MFC 1.47: Remove two unused variables 2006-08-15 03:54:41 +00:00
kientzle
5c16608d6a MFC 1.26: conditionally include sys/mkdev.h on platforms that need it. 2006-08-15 03:53:50 +00:00
brueffer
38fb0a2731 MFC: rev. 1.10 + 1.11
Indentation fixes
2006-08-14 05:07:18 +00:00
jkoshy
4cc453714e MFC rev 1.9:
"In 'od -c' mode, deal with printable but zero-width combining
  characters correctly.  These characters are displayed "combined"
  with a space character."
2006-08-03 09:06:52 +00:00
kientzle
cce1fd0901 MFC bsdtar 1.2.53 to FreeBSD 6:
* Fixes bin/87911 (internal error attempting -u with empty file)
  * Fixes bin/84993 (warnings with GCC 4.1)
  * Fixes bin/95175 (core dump on nonexistent symlink)
  * Documentation fixes
  * Corrections to pathname matching
  * Portability fixes
  * Initial extended attribute support
2006-07-30 06:32:14 +00:00
julian
075428bf8d MFC: 1.26
Don't print an error if used on a kernel with no ipv6, just do nothing.
2006-07-26 21:49:25 +00:00
kib
3dc41560f7 MFC rev. 1.30, 1.31
Check that the signal number is in range.

Approved by:	pjd (mentor)
2006-07-19 14:49:20 +00:00
markm
d5f69f2a4f MFC: pick up maintainer stragglers. 2006-07-09 22:06:28 +00:00
flz
3a998b0102 MFC:
Add a -q option to suppress header lines when multiple files are specified
  (and fixes from Ruslan).

      src/usr.bin/tail/extern.h: rev 1.9 -> 1.10
      src/usr.bin/tail/tail.1: rev 1.12 -> 1.13
      src/usr.bin/tail/forward.c: rev 1.39 -> 1.40
      src/usr.bin/tail/tail.c: rev 1.21 -> 1.22
2006-07-06 12:56:38 +00:00
rwatson
fd4b45cce8 Merge rpc_svcout.c:1.23 from HEAD to RELENG_6:
In change 1.15, an arbitrary setting of the max RPC record size to
  RPC_MAXDATASIZE was introduced.  This is believed to have been debugging
  code committed accidentally, although I've been unable to reach the
  committer to confirm this.  The effect was to limit the size of RPCs on
  TCP and UDP to 9k, well below the default protocol limits in the libc
  rpc code.  This change simply removes these introduced limits, falling
  back on the libc definitions.

  PR:             88856
  Reported by:    Keith Bostic <bostic at sleepycat dot com>
  Testing by:     Susan LoVerso <sue at loverso dot southborough dot ma dot us>
  Reveiwed by:    cel, rees
  Review timeout: alfred, mbr

Approved by:	mbr
2006-07-05 11:35:17 +00:00
stefanf
5a4cc9e905 MFC rpc_hout.c 1.12 and rpc_main.c 1.28:
Only write prototypes to the headers if -h was specified and they don't have
internal linkage.
2006-06-24 09:31:29 +00:00
grog
7da8116e4b MFC: Don't go past the end of the month with a repetitive entry of the
style "every Monday":

     mon *        Do Foo.

Previously, at the end of the month, this could cause a printout of
the following nature when invoked with -A 7:

     36 May* Do Foo

If the entry runs into the following month, adjust month and day,
wrapping round into next year where necessary.
2006-06-15 01:16:36 +00:00
stefanf
110e8ea45a MFC id.c rev 1.27: Print the euid after the gid. 2006-06-11 08:49:29 +00:00
pav
055f89d66e MFC:
- Add decoding of kse_release, ...
- Fix crash when hitting unknown syscall
2006-06-09 21:08:51 +00:00