| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
|
|
|
| |
PR: bin/25470
|
|
|
|
| |
Submitted by: Mike Barcroft <mike@q9media.com>
|
|
|
|
|
| |
Submitted by: Mike Barcroft <mike@q9media.com
Reviewed by: md5(1)
|
|
|
|
|
|
|
| |
PR: 28369
Submitted by: Daniel O'Connor <darius@dons.net.au>
manpage reviewed by: ru
MFC after: 10 days
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
one to see what files would be removed *if* an 'lpc clean' is done. 'tclean'
will remove no files, and is therefore not a privileged command. Also, both
'lpc clean' and 'lpc tclean' will now look for 'core' files in spool directories
(but not remove them). They also print out an extra line of info when a
datafile to be removed is a symlink (from 'lpr -s'), saying what file it is
a symlink to.
The 'lpc clean' commands also now print out a summary line saying how many
queues were checked, how many files were removed (or "would be" removed, for
tclean), and how much disk space is involved. For the benefit of those who
have many print queues, 'lpc clean all' will only print out the names of print
queues where some "interesting" files were found, instead of printing out a
header-line for every queue in your printcap file.
Reviewed by: freebsd-print@bostonradio.org freebsd-audit@FreeBSD.org
MFC after: 2 weeks
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
while -w allows connection from non-reserved ports. Also improves the
helpfulness of various connection-error messages.
The changes for IPv6 added back in the reserved-port check which was mistakenly
dropped from lpd in 1997 (copying a change from openbsd). It is best to have
that check in place, but the check breaks lpr's from some implementations of
lpr/lpd for Windows. The -w option is for those admins who need to accept
jobs from non-reserved ports, the -c option is for admins who would like a
print-server machine to log all failed connection-attempts to syslog.
Reviewed by: freebsd-audit@FreeBSD.org freebsd-print@bostonradio.org
MFC after: 2 weeks
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
builtints (e.g., exit, strcmp).
|
|
|
|
| |
Submitted by: Mike Barcroft <mike@q9media.com>
|
|
|
|
|
| |
Submitted by: Mike Barcroft <mike@q9media.com>
Reviewed by: md5(1)
|
|
|
|
|
| |
Submitted by: Mike Barcroft <mike@q9media.com>
Reviewed by: md5(1)
|
|
|
|
|
| |
Submitted by: Mike Barcroft <mike@q9media.com>
Reviewed by: md5(1)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
contained a number of memory leaks. The changes include:
- Add a comment describing what addrmerge() does.
- Deal with 0.0.0.0./::. or AF_LOCAL callers correctly.
- Use rpcbind_get_conf() instead of getnetconfigent() so we don't
have to remember to free the returned netconfig struct.
- Make just one pass through the ifaddrs list; we can pick up a fallback
interface address in the same pass as the netmask comparison.
- Define and use SA2SIN* macros to avoid the need for loads of
protocol-specific local variables.
- Use mostly protocol-independent code for building the netbuf version
of the address to be returned.
- Use the common cleanup code for virtually all error and non-error
cases, fixing a number of memory leaks.
|
|
|
|
|
| |
Submitted by: Mike Barcroft <mike@q9media.com>
MFC after: 2 weeks
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
function has a return type of u_int32_t, into which it was somehow
supposed to encode:
* A valid 32-bit XID (which could be any value including 0).
* 0, meaning a duplicate request.
* -1, meaning a malloc failed (!);
We now ensure that all XIDs are non-zero, and pass the XID out via
a pointer argument.
In forward_find() and free_slot_by_xid(), remove an unnecessary
and confusing test for a negative result from an unsigned modulo
operation, but add an unnecessary cast to highlight why.
|
| |
|
|
|
|
|
|
|
| |
PR: 27990
Reviewed by: dd, phk
Tested by: dd
MFC after: 2 weeks
|
|
|
|
|
|
|
| |
itself verbatim from INDEX. This fixes seg. faults with newer INDEX
files which have some gnome ports with outrageously long run deps.
Approved by: jkh
|
| |
|
|
|
|
|
|
|
|
| |
so that the user can override libraries at build time. This is
makes it easier to cross-compile crunch builds.
Suggested by: luigi
MFC after: 3 days
|
|
|
|
| |
This needs to work with OpenBSD's groff too :(
|
|
|
|
|
| |
o For the -i switch, only show the device if more than one is given on
the command line.
|
|
|
|
|
|
|
|
|
|
| |
exist, and therefore mm_install is returning the "fail" value of
the test instead of the "success" value for install.
This change is a no-op on HEAD, but since the only harm on RELENG_4
ATM is a spurious warning it can follow the usual MFC practice.
Submitted by: A cast of thousands :-/
|
|
|
|
|
|
|
| |
period; this keeps the number of whitespace-separated fields constant.
PR: 15739, 23908
Submitted by: Valentin Nechayev <netch@netch.kiev.ua>
|
|
|
|
|
|
|
| |
years; remove them from CFLAGS.
PR: 23712
Submitted by: Volker Stolz <stolz@i2.informatik.rwth-aachen.de>
|
|
|
|
| |
Obtained from: OpenBSD
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
encryption compatibility with Windows 2000. Stateful encryption
uses less CPU but is bad on lossy transports.
The ``set mppe'' command has been expanded. If it's used with any
arguments, ppp will insist on encryption, closing LCP if the other
end refuses.
Unfortunately, Microsoft have abused the CCP reset request so that
receiving a reset request does not result in a reset ack when using
MPPE...
Sponsored by: Monzoon Networks AG and FreeBSD Services Limited
|
|
|
|
|
|
|
|
|
|
|
|
| |
allow MRU/MTU negotiations to exceed 1492.
Add an optional ``max'' specifier to ``set m[rt]u'', ie.
set mtu max 1480
Bump the ppp version number.
Sponsored by: Monzoon Networks AG and FreeBSD Services Limited
|
|
|
|
|
|
|
|
|
|
|
| |
sends error messages to stderr, normal output to stdout, instead of
logging everything via syslog.
Turn off the FORMAT_AUDIT in the Makefile, until I can figure out how
to disable the check for one single line in the source :(
Reviewed by: dd, silence on -audit
MFC after: 1 month
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
| |
o Use %u for printing u_int.
o Cast sizeof() to u_long, and print with %lu
Reviewed by: wollman
|
|
|
|
|
|
|
|
|
|
|
| |
how to use this feature are in the man page. This is based on work
by Lyndon Nerenberg.
(The only difficult part about this patch is the fact that you
can't fchown a unix domain socket, which means the sockets must be
put in a secure directory).
Reviewed by: dillon
|
|
|
|
|
|
| |
PR: 10158
Submitted by: Remy Card <card@ens.uvsq.fr>
MFC after: 2 weeks
|
|
|
|
| |
77: warning: cast from pointer to integer of different size
|
| |
|
|
|
|
| |
489: warning: int format, different type arg (arg 4)
|
| |
|
|
|
|
|
|
| |
One less warning to annoy me...
MFC after: 1 week
|