| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
Submitted by: Mike Barcroft <mike@q9media.com>
|
|
|
|
|
|
|
|
|
|
|
|
| |
receives them from other hosts. This is meant to protect from both
nefarious users (which maybe broke into some remote host that we accept
print jobs from), and broken implementations of lpr on other platforms.
This is done by changing recvjob.c to call the new ctl_renametf()
routine in the new common_source/ctlinfo.[ch] files. This will not
affect jobs coming via lpr on the local machine.
Reviewed by: freebsd-print@bostonradio.org & freebsd-audit
MFC after: 16 days
|
|
|
|
|
|
|
| |
freebsd/alpha with -ansi (and on some non-fbsd platforms). This change
can only affect the access checking of 'lpr -r'.
MFC after: 1 week
|
|
|
|
| |
MFC after: 1 week
|
|
|
|
| |
MFC after: 1 week
|
|
|
|
|
|
| |
use (size_t) in a few places to avoid compile-time warnings on alpha.
MFC after: 1 week
|
|
|
|
|
|
|
|
|
| |
often by just telling gcc that some internal routine is "__printflike"
(work done by Kris Kennaway <kris@FreeBSD.org>). Also fix the new warnings
which show up once gcc starts checking the "printf-like parameters" passed
to those routines.
MFC after: 1 week
|
|
|
|
|
|
|
|
|
|
| |
This fixes a problem with using print filters (if=, of=, etc) that showed
up in -current around June 20th. That problem initially reported by
Georg-W Koltermann <gwk@sgi.com>, while most of the investigation that
led to this fix was done by Anton Berezin <tobez@FreeBSD.org>.
Reviewed by: freebsd-print@bostonradio.org
MFC after: 1 week
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
- Use '\0' for a char instead of NULL.
- Explicitly compare against the global `nullstring' to determine if
a non-NULL uaddr is not malloc'd.
- Remove some unnecessary casting of the argument to free().
- In rpcbproc_callit_com(), move the freeing of m_uaddr to the
cleanup code at the end of the function.
- To avoid confusion and possible alignment problems, change
netbufdup() to allocate the netbuf struct and the sockaddr buffer
separately, and change netbuffree() accordingly. This makes it
produce netbufs that are consistent with all other netbufs in
rpcbind.
|
|
|
|
| |
the netbuf before freeing the netbuf structure itself.
|
|
|
|
|
| |
Fix an off-by-one error in logit() when determining if a procedure
number has a known name.
|
|
|
|
|
|
|
|
|
|
|
|
| |
comparing bit by bit.
Make the logic in in6_fillscopeid() match that in our ifconfig(8):
only set the scope ID if there is one in the address and none in
sin6_scope_id.
Correct a comment in network_init() that didn't make sense; it was
probably never updated after it was pasted from similar code in
addrmerge().
|
| |
|
|
|
|
|
|
| |
debugging fprintf.
Submitted by: Martin Blapp <mb@imp.ch>
|
|
|
|
|
|
|
| |
stealth hints loading. 'make release' has been fixed to not need this
now anyway. If you want static hints, specify it explicitly.
Hey! Why did it suddenly get so dark??
|
| |
|
| |
|
|
|
|
|
|
|
| |
Alpha. (the Alpha will not boot except from the first partition)
PR: 23064
Submitted by: Kees Jan Koster <kjkoster@kjkoster.org>
|
|
|
|
| |
useful HCI consideration and tell which file was being looked for".
|
|
|
|
|
|
| |
getopt(3) (and can't be converted without breaking compatibility), and
it's very irritating to have it silently DTWT if one combines options
together (e.g., "-msS domain,server").
|
| |
|
|
|
|
| |
MFC after: 1 week
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
to be included into this one. This works the same way as #include
does in C; as far as the user is concerned, the included file is
inlined into the current one.
Since config(8) is no longer limited to working on one user-supplied
file, printing just a line number in an error message is not
sufficient. The new global variable yyfile represents the file
currently being parsed, and must be printed as well.
Reviewed by: imp
Obtained from: OpenBSD
|
|
|
|
|
|
|
|
|
| |
a host address
PR: misc/27799
Reviewed by: jkh
Approved by: jkh
MFC after: 1 month
|
|
|
|
| |
PR: misc/28287 , misc/28288
|
|
|
|
|
|
| |
Now, ftp2.jp.freebsd.org is serverd by IIJ.
MFC after: 1 week
|
| |
|
| |
|
|
|
|
| |
anymore.
|
| |
|
| |
|
| |
|
|
|
|
| |
Idea from: Theo de Raadt <deraadt@openbsd.org>
|
|
|
|
| |
Obtained from: OpenBSD
|
| |
|
| |
|
|
|
|
| |
MFC after: 3 weeks
|
|
|
|
|
| |
added in the previous commit; this variable is already incremented
in the previous `if' condition.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
until a 20ms select(2) timeout occurs, but if there is a continuous
stream of movement events, button events can be delayed indefinitely
because the select never has to wait long enough for a timeout.
The delay and mouse event reordering that result are very noticable
and sometimes quite frustrating when dragging windows etc. in X.
Add a simple mechanism that avoids this re-ordering. While a button
event is deferred, we discard up to 3 movement events to allow for
mouse jitter. If more movement events occur, then we immediately
timeout the deferred button event and let the movement proceed.
This change only affects the 3-button emulation case.
|
|
|
|
| |
open CCP with no algorithm.
|
|
|
|
|
|
|
|
|
|
|
| |
perform a key change, *and* our sequence numbers have wrapped,
ensure that the number of key changes is calculated correctly.
The previous code counted down from a negative number to zero,
re-encrypting the current key on each iteration - this took some
time and strangely enough got the answer wrong !!!
Fix a(nother) spelling mistake while I'm there.
|
|
|
|
|
| |
Inconsistently done by: brian
Spotted by: ru
|
| |
|
| |
|
| |
|
|
|
|
| |
Submitted by: bde
|
| |
|
|
|
|
|
|
| |
the non-constant format string warnings.
MFC after: 1 week
|
| |
|
|
|
|
| |
MFC after: 1 week
|