Commit Graph

10778 Commits

Author SHA1 Message Date
enami fc5eb1b7ac Since we have st_birthtime in struct stat, it is in default display. 2010-03-11 21:37:01 +00:00
joerg 2c0a7fd6bd Do not call pam_end with an invalid handle if pam_start failed.
From Richard Hansen.
2010-03-09 16:14:08 +00:00
pooka 523c21179c print ioconf WARNING in caps too 2010-03-08 11:12:32 +00:00
pooka 90ac64de16 Add a highly experimental pseudo-root feature to be used in conjuction
with the also-experimental ioconf keyword.  pseudo-root allows to
specify a root at any point in the device tree without having
attachments from the actual root.

For example, instead of having a config file like this:
mainbus0 at root
bus_a? at mainbus0
bus_b? at bus_a*
device7 at bus_b?

You can have one like this:
pseudo-root bus_b*
device7 at bus_b?

This will produce the relevant ioconf.c glue for device number 7
only instead of the whole 9 yards from root.  Perhaps needless to
say, this can be used to generate snippets of config glue for
modules and, let's not deny that my main motivation for doing this,
rump components.

This is part 2/3 of my modifications to config (the last part is
autogenerating source file lists and component Makefiles).

No strong objection from cube (after a little pressuring ;), but
like he said, the implementation will most likely need some more
tweaking and may not work correctly under all pseudo-root uses yet.
2010-03-08 10:19:14 +00:00
pooka 04e9fbfc62 Remove no longer used -DNFS. 2010-03-05 19:53:37 +00:00
lukem e451c67901 ftp 20100305: fix http date parsing 2010-03-05 07:45:40 +00:00
lukem 3f853671ff Back to using 'RFC xxxx' instead of 'RFCxxxx' 2010-03-05 07:41:10 +00:00
lukem cbd600cfd6 Parse HTTP 'Date' entries in the `C' locale rather than the user's.
Fix from [bin/42917] (with minor changes), from KAMADA Ken'ichi.
2010-03-04 21:40:53 +00:00
pooka e6e6744f43 reflect previous change in comment 2010-03-03 13:56:29 +00:00
pooka c96070654c Remove fs_foo.h support from deffs now that nothing uses it. 2010-03-03 13:53:22 +00:00
joerg f9c779de17 Add a check for duplicate keys. The check is run once and quadratic in
the hash collision chain length, which is expected to be fairly low.
2010-03-03 01:55:04 +00:00
gdt 324332f31f Log successful and unsuccessful attempts to change passwords, via -l
or pam, to ease IT audit guideline compliance.  Patch from Richard
Hansen of BBN in private mail.

Proposed on tech-kern with positive comments, except a suggestion I
didn't implement:

A possible future enhancement is refraining from logging if the old
password is empty, as some people abort password changing that way.
However, it's not clear if this complies with most guidelines that
require password change logging, and at first glance that appears to
be a fairly difficult change.
2010-03-02 16:19:13 +00:00
joerg 97b3b0515b Fix a comment. 2010-03-01 21:46:58 +00:00
roy 9033c3cfe7 Sync against new ld.elf_so 2010-02-27 11:17:05 +00:00
mbalmer 945771eda0 DEL is 0x7F, not 0xFF. From FreeBSD via OpenBSD. 2010-02-27 10:45:23 +00:00
christos f0e3fdff97 matt wants the ping timeout to be 1sec 2010-02-26 22:44:17 +00:00
christos 2bd4c53fca PR/42207: YAMAMOTO Takashi: If the portmapper (rpcbind) is not running, eject
takes 2 minutes to timeout. Add a ping the portmapper function that times out
after 5 seconds.
2010-02-26 20:18:37 +00:00
pooka bc1cf39b94 Add -h, which makes output of bytes counts "humanized" (e.g. -bih)
(netstat had -h some 15 years ago, but since then it has been just
a fancy way of calling usage())
2010-02-24 11:00:27 +00:00
skrll 4931e61023 Mark each object as printed as visited and then print.
Fixes PR/42811.

As a side effect the libraries are printed in, imo, a better order.
2010-02-23 08:23:24 +00:00
roy fde317d2b1 libterminfo can now compile a single terminfo description which allows
$TERMINFO to be a terminfo description as well as a file reference.

This enables the user to modify the terminfo description on read-only
media.
2010-02-22 23:05:39 +00:00
joerg 87faf7cb4f \\ -> \e 2010-02-22 19:20:33 +00:00
pgoyette 3360c946f9 One more time - do this correctly.
Thanks, joerg.
2010-02-20 06:20:46 +00:00
pgoyette 4b2f1808e2 Wrap the include of sys/endian.h in #ifdef HAVE_SYS_ENDIAN_H to avoid
build issues on systems that don't have a sys/endian.h

Pointed out by joerg@
2010-02-20 06:15:06 +00:00
pgoyette 237e56a5c8 Since tic is a host tool, we need to include host system header to get
definitions of le16dec() and le16enc().

Solves PR bin/42747 from Henning Petersen
2010-02-20 06:08:01 +00:00
tnn 0846a7629f Merge the following revisions from OpenBSD to let sed(1) handle
arbitrarily long lines (closes our PR bin/42261).
openbsd/usr.bin/sed/extern.h 1.5
openbsd/usr.bin/sed/main.c 1.13-1.15
openbsd/usr.bin/sed/misc.c 1.8
openbsd/usr.bin/sed/compile.c 1.25-1.28
openbsd/usr.bin/sed/defs.h 1.4
2010-02-19 16:35:27 +00:00
tron a1573270c3 Report the number of characters, not the number of bytes in the
longest line.

Problem pointed out by YAMAMOTO Takashi on "tech-userlevel" mailing list.
2010-02-19 11:15:23 +00:00
joerg 149eb58444 Only print the "Archive: xxx" header if not in extract-to-stdout mode. 2010-02-18 15:51:57 +00:00
wiz 8f657e21de Fix typo (specifed -> specified). 2010-02-18 14:00:39 +00:00
wiz eedc241ad5 New sentence, new line. Add EXIT STATUS section and use .Ex.
Fix macro argument abuse.
Use Aq instead of \*[Lt]\*[Gt].
2010-02-18 13:14:51 +00:00
tron 10109091b2 Add support for "-L" option (longest line) as present in the GNU and
FreeBSD version of "wc".

No objections on "tech-userlevel" mailing list.
2010-02-18 10:43:50 +00:00
pooka 7547791dd3 Fix off-by-one (config -x works again) and improve editing artifacts
(actually the whole "config -x must be used alone" change was made
unnecessary along the way.  cest la vie).
2010-02-13 22:57:03 +00:00
roy 5176b19781 Report when using internal database. 2010-02-11 14:38:43 +00:00
wiz a2542d1a41 Oxford serial comma. 2010-02-11 13:44:14 +00:00
roy b164f98a45 Change -S to output C structures to make life easier. 2010-02-11 13:09:57 +00:00
roy 81c1c09bfc Report if using internal database or not. 2010-02-11 08:46:18 +00:00
wiz 66fbc76fcb Sort options (standard order is 0-9AaBbCc...). 2010-02-11 07:00:46 +00:00
roy 55a396b95f tic -S now outputs the specified terminal names and compiled descriptions
as C strings so we can embed them into libterminfo.
2010-02-11 00:24:46 +00:00
roy eae295f613 We need to cap reset_file/init_file. 2010-02-10 10:34:59 +00:00
roy 8cfe7bba8c Tidy defs. 2010-02-10 10:34:31 +00:00
roy 416b512efb Constify cat argument and tidy. 2010-02-10 10:33:45 +00:00
wiz 8e35c759e7 Fix typo in comment. 2010-02-09 23:05:16 +00:00
wiz 91440662bd Bump date for previous. 2010-02-09 14:25:39 +00:00
drochner ec10ab0177 remove agitation that od(1) was deprecated -- it is still POSIX 2010-02-09 14:06:37 +00:00
eeh 5173fff056 Some bugfixes and enhancements. Support for case .. of and fix calculation
of branch offsets.
2010-02-08 20:14:55 +00:00
he 76d4444c78 When using -lcurses, you also need -lterminfo.
This fixes the build for sun2, and also builds with LDSTATIC=-static,
since archive libraries don't record inter-library dependencies.
2010-02-06 23:45:24 +00:00
dholland 607923e4ca Improve the error message that results when you have a multi-variable .for
and the substitution list doesn't divide evenly.
2010-02-06 20:37:13 +00:00
enami 47e571f2ea Don't touch past the end of allocated region. It results segmentation
violation.
2010-02-05 21:58:41 +00:00
roy 2bb24c0bfc Fix year. 2010-02-05 16:54:11 +00:00
roy 5f630912a5 Fix infocmp when both -a and -x are given as arguments. 2010-02-05 16:43:46 +00:00
roy 71dfbe1cc5 Note that -a no longer sets -x. 2010-02-05 16:36:09 +00:00