| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
| |
a filename pattern, and also wrt filenames given on the command line.
Now if a file is listed as a specific entry, it will not *also* be
processed by an entry specifying a pattern. And filename-patterns
will now only match existing files (ignoring directories, etc).
MFC after: 3 weeks
|
|
|
|
| |
were useless for at least seven years and eight months.
|
|
|
|
|
|
|
| |
if we return the entire worklist, instead of just the last entry. A minor
fix to revision 1.57.
MFC after: 15 days
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
will contain the pid for a process group. This means the file must
contain a negative value (as would be needed in the 'kill' commmand).
I still need to write man-page update before MFC-ing.
This started by rewriting the get_pid() routine. Later I looked at
what OpenBSD has, and included a few ideas from their send_signal()
routine. So, parts of this change are from OpenBSD, even though
OpenBSD does not actually have a 'U' flag.
PR: bin/28435
Reviewed by: no objections on freebsd-arch
MFC after: 3 weeks
|
|
|
|
|
| |
not 100% sure that I've done this in the right way. If folks want to
revisit this, please be my guest.
|
|
|
|
|
|
|
|
| |
to sort out noaction messages from -v (verbose) messages. This also
improves a few noaction messages.
Obtained from: OpenBSD
MFC after: 3 weeks
|
|
|
|
|
|
|
|
|
|
| |
warning message if -s is specified and it rotates a file that expects
to be compressed. This warning message is not printed if -R is also
specified, because we assume a -sR request is coming from the process
which would have been signaled, and that it has already released the
logfile.
Indirectly noticed by: sheldonh
|
|
|
|
|
| |
Submitted by: Brooks Davis <brooks@one-eyed-alien.net>
MFC after: 20 days
|
|
|
|
| |
MFC after: 20 days
|
|
|
|
|
| |
Sponsored by: Porta Software Ltd
MFC after: 20 days
|
|
|
|
| |
Prompted by: Eugene Grosbein <eugen@kuzbass.ru>
|
|
|
|
| |
Noticed by: maxim
|
|
|
|
| |
install time, and make sure to catch any future .db files as well.
|
|
|
|
| |
will be removed. Give terse pointer to ifconfig h0h0 magic to use.
|
| |
|
| |
|
|
|
|
|
|
|
|
| |
ifconfig equivalents. This is the first step in removing them from
the system. Users of wicontrol to configure the wireless card are
strongly encouraged to change their scripts, as sometime in the future
all configuration of the cards that isn't in ifconfig will be removed
with extreme prejustice.
|
| |
|
|
|
|
|
|
| |
PR: 29363 (a small part of)
Submitted by: dinoex
MFC after: 3 weeks
|
|
|
|
|
| |
gained 400 ports since the last time this was updated, the disk space
estimate is still accurate.
|
|
|
|
|
|
| |
OpenBSD. Except for one added '\n', the object code is not changed.
MFC after: 3 weeks
|
|
|
|
|
|
| |
already there. This should not effect anything.
MFC after: 3 weeks
|
|
|
|
|
|
|
| |
bother doing a chmod() if neither of these two fields are set.
Obtained from: OpenBSD
MFC after: 3 weeks
|
|
|
|
|
|
|
|
|
| |
and config-file entries which specify a filename-pattern (glob). It is
still not perfectly-right, but at least it isn't completely-wrong.
Reviewed by: no objections on freebsd-arch
MFC after: 3 weeks
MFC addendum: (or after the code-freeze of 4.x is lifted)
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
should rotate all files given on the command, even if they don't seem to
need to be rotated. This would be used by some other command that decides
the given log file(s) should be rotated, but wants the "how" of that rotation
to be determined by entries to newsyslog. Wes expects to change syslogd to
take advantage of this. Man page will be updated after we're sure this is
all working the way we want it to.
Reviewed by: no objections on freebsd-arch
MFC after: 3 weeks
MFC addendum: (or after the code-freeze of 4.x is lifted)
|
|
|
|
|
|
|
|
|
|
|
|
| |
not send a signal to any processes. Also add a config-file flag of 'N' or
'n', which indicates that the given logfile has no process which needs a
signal when it is rotated. Both of these are based on changes NetBSD
has made, although the implementation is somewhat different.
PR: bin/36553 (2nd half)
Reviewed by: no objections on freebsd-arch
Obtained from: NetBSD (in spirit, at least)
MFC after: 3 weeks
|
| |
|
|
|
|
|
|
|
| |
DEVFS is now mandatory in CURRENT.
PR: docs/48095
Submitted by: Grzegorz Czaplinski <G.Czaplinski@prioris.mini.pw.edu.pl>
|
|
|
|
|
|
| |
dialog for network interfaces.
MFC after: 20 days
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
read from CD from 2k to 16k, because in the modern world of meta-packages
(Gnome et al) the length of this list could easily owerflow limit causing
strange things to happen, ranging from installation failure due to list
truncation to complete stack trashing (there is very vague bounds checking).
For example, x11/gnome2-fifth-toe runtime dependencies list is 2,418 bytes
long.
Due to obvious reasons, this is an immediate MFC candidate.
Sponsored by: Porta Software Ltd
MFC after: 1 day
|
|
|
|
| |
is compiled in the kernel. Also add some useful xrefs to lock(1).
|
| |
|
|
|
|
| |
Submitted by: roam
|
|
|
|
|
|
|
|
| |
- Actually check that the entered device name does not exceed the
maximum device name length.
PR: misc/18466
MFC after: 2 weeks
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Fixed memory leak in the "nodevice" option implementation.
Use these instead of sed(1) in MD NOTES.
Use a single makefile (sys/conf/makeLINT.mk) to generate
LINT for all architectures. (Previous versions missed
the LINT dependency on Makefile, and i386 version also
missed the dependency on ${NOTES}.)
Fixed bugs in the previous NOTES conversion using the
"nodevice" token and sed(1):
- i386 LINT lost "device pst".
- pc98 LINT lost SC_*, MAXCONS and KBD_DISABLE_KEYMAP_LOAD
options, and got needless DPT_* options.
- Added nooptions PPC_DEBUG, PPC_PROBE_CHIPSET, KBD_INSTALL_CDEV
to sparc64 LINT so that it has a chance to config(8).
This basically returns us to where we were before.
|
|
|
|
|
|
| |
if an entry in the config file included flag 'G'.
MFC after: 3 weeks
|
|
|
|
|
|
| |
structure from a file instead of a PC-CARD itself before parsing and
dumping it. (E.g. useful when you get a CIS file from a manufacturer
which fixes they broken card's CIS, and add it to the pccard quirks.)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
post-deinstall script, the variable intended to hold the name of that
script would be used uninitialized. In some cases, fexists() would
succeed, causing pkg_delete to try to chmod +x it, then execute it,
resulting in bizarre error messages such as:
.//: Permission denied
This bug would normally only occur when multiple packages were
specified on the command line; otherwise post_script would be located
in a previously unused part of the stack, and implicitly (but quite
accidentally) initialized to all-zeros.
MFC after: 3 days
|
| |
|
|
|
|
|
|
|
| |
calling getmode(3).
Approved by: wollman
MFC after: 1 week
|
|
|
|
|
|
|
| |
and error-out if the value is negative (avoiding an infinite loop).
PR: bin/30654 (part of it)
MFC after: 3 weeks
|
|
|
|
|
|
|
|
|
|
| |
given for -a did not exist, then newsyslog would always try to create
it, even if -n was specified.
2) When -a processing *does* create the directory, have it check the result
from mkdir(), and immediately error-out if that failed.
PR: bin/46974
MFC after: 3 weeks
|
|
|
|
|
| |
Reviewed by: md5
MFC after: 3 weeks
|
|
|
|
|
|
|
|
|
|
|
| |
specified at runtime, but that filename is not listed in the newsyslog.conf
file. This default-action can be changed by having a line in newsyslog.conf
with the filename of "<default>". Before this change, the program would
quietly ignore the given file. An update to the man page will be written
after I finish some other updates to newsyslog.c.
Reviewed by: no objections from freebsd-arch
MFC after: 3 weeks
|
|
|
|
|
|
|
|
|
|
| |
into a child process. Rather than closing the discriptors manually,
mark all discriptors as close-on-exec.
PR: 47694
Submitted by: Max Okumoto <okumoto@ucsd.edu>
Obtained from: NetBSD
MFC after: 2 weeks
|
|
|
|
|
|
|
|
|
| |
we don't leak memory. Only one of these two cases (reconfig) actually
causes a leak because the other is usually followed by an exec.
PR: 46845
Reviewed by: David Wang <dsw@juniper.net>
MFC after: 2 weeks
|
|
|
|
| |
Fixed the potential bug in rmopt().
|
|
|
|
|
|
|
| |
used to separate multiple host names.
Noted by: Dan Nelson <dnelson@allantgroup.com>
Reviewed by: roberto
|
|
|
|
| |
List from: benno
|
|
|
|
|
|
| |
of failure.
MFC after: 1 week
|