| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
| |
spares (the size of the field was changed from u_short to u_int to
reflect what it really ends up being). Accordingly, change users of
xucred to set and check this field as appropriate. In the kernel,
this is being done inside the new cru2x() routine which takes a
`struct ucred' and fills out a `struct xucred' according to the
former. This also has the pleasant sideaffect of removing some
duplicate code.
Reviewed by: rwatson
|
|
|
|
| |
Reported by: Jurrien Koopmans <jjkoopmans@home.nl>
|
|
|
|
|
|
|
|
|
| |
COPTS towards the end of final CFLAGS so that it can be used to
override Makefile and other defaults. Using it in Makefiles risks
having options set using it clobbered when somebody uses it on the
command line.
Approved by: bde
|
| |
|
|
|
|
|
| |
These are not perfectly in agreement with each other style-wise, but they
are orders of orders of magnitude more consistent style-wise than before.
|
|
|
|
| |
files that aren't WARNS clean it causes trouble.
|
|
|
|
|
|
|
|
| |
o Mark unused variables.
o Set WARNS?=2
o Results in no code changes.
Submitted by: Mike Barcroft <mike@q9media.com>
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
| |
portmap.8 --> rpcbind.8
Submitted by: .Xr testing script
|
|
|
|
|
|
|
| |
to have been accidently imported when ipv6 support was added to
inetd.
Approved by: ume
|
|
|
|
| |
Submitted by: ru
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
been patched so many times it was a bit of a mess. There are style,
code and man page cleanups. The following are the functional changes:
The RFC only permits the returning of 4 possible error
codes, make sure we only return these (PR 27636).
Use MAXLOGNAME to determine the longest usernames.
Add a -i flag, which returns the uid instead of the username
(this is from a PR 25787, which also contained alot of the
cleanups in this patch).
PR: 25787, 27636
Partially Submitted by: Arne.Dag.Fidjestol@idi.ntnu.no
Reviewed by: Arne.Dag.Fidjestol@idi.ntnu.no, green
MFC after: 3 weeks
|
|
|
|
|
|
|
|
| |
it already, their syntax is not compatible with ours. It will confuse
users. So, we have compatibility with their syntex.
Approved by: dwmalone
Obtained from: NetBSD
|
|
|
|
|
|
|
|
|
| |
The patch I used isn't quite the one Lars suggested, but the size
of the largest datagram you can recv isn't #defined anywhere, and
probably isn't even bounded for some protocols.
PR: 25050
Submitted by: Lars Eggert <larse@isi.edu>
|
| |
|
|
|
|
|
| |
Reviewed by: ben
Approved by: green
|
|
|
|
| |
- MAN[1-9] -> MAN.
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
actually in the kernel. This structure is a different size than
what is currently in -CURRENT, but should hopefully be the last time
any application breakage is caused there. As soon as any major
inconveniences are removed, the definition of the in-kernel struct
ucred should be conditionalized upon defined(_KERNEL).
This also changes struct export_args to remove dependency on the
constantly-changing struct ucred, as well as limiting the bounds
of the size fields to the correct size. This means: a) mountd and
friends won't break all the time, b) mountd and friends won't crash
the kernel all the time if they don't know what they're doing wrt
actual struct export_args layout.
Reviewed by: bde
|
| |
|
|
|
|
|
|
|
| |
instead of ints, don't cast to char *, clear up some remote name
handling code which had become a little odd.
Should result in no functional changes.
|
|
|
|
|
|
|
| |
doesn't actually use it.
PR: 24307
Submitted by: opentrax@email.com
|
| |
|
|
|
|
|
|
|
|
|
| |
to contain the name of other valid users.
PR: 22837
Submitted by: Andreas Gerstenberg <andy@andy.de>
Reviewed by: green
Reviewed by: sheldonh
|
|
|
|
|
|
|
| |
make sure there is exactly one prototype for each function,
use K&R style definitions everywhere to match dominant style,
make flag_signal take an int to avoid problems if we have
ANSI prototypes and K&R definitions.
|
|
|
|
|
| |
Partially submitted by: alfred
Reviewed by: alfred
|
|
|
|
|
|
|
|
|
| |
root's groups' permissions were being used, so a user could read up to
16 (excluding initial whitespace) bytes of e.g. a wheel-accessible file.
Also, don't allow blocking on the opening of ~/.fakeid, so replace a fopen()
with open() and fdopen(). I knew I'd be going to hell for using C file
streams instead of POSIX syscalls...
|
| |
|
| |
|
|
|
|
|
| |
PR: 22268
Submitted by: Daniel S. Lewart <d-lewart@uiuc.edu>
|
| |
|
|
|
|
|
|
| |
loops.
Submitted by: Ian Dowse <iedowse@maths.tcd.ie>
|
|
|
|
|
|
| |
PR: 21650
Submitted by: ben
Tested by: dan@ducky.nz.freebsd.org
|
|
|
|
|
|
|
| |
connection goes away. Spotted by people on -STABLE about 2 weeks
ago.
Submitted by: Based on a patch by alfred and Maxime Henrion <mux@qualys.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
page.
Add ability to run "inetd -R 0" to disable the default connection
per minute limit of 256 connections. Document this in man page.
Don't use maxchild as a boolean - instead check if it is greater
than zero.
Reviewed by: sheldonh
Based on a patch by: Alexander Langer <alex@big.endian.de>
|
| |
|
|
|
|
|
|
|
| |
don't traumatise the parent inetd.
Requested by: wietse@porcupine.org
Approved by: markm
|
|
|
|
|
|
|
|
|
|
|
|
| |
one packet. Also check that the whole request has been recieved
before processing it.
The patch isn't the exact one from the PR, but a slight varient
suggested by Brian.
PR: 16086
Submitted by: Hajimu UMEMOTO <ume@mahoroba.org>
Reviewed by: green
|
|
|
|
|
|
| |
proper places and make the fakeid parsing code a bit less stupid. Also,
remove an "Rflag" that snuck in there (-R wouldn't be accepted by it,
anyway).
|
|
|
|
|
|
| |
a size_t as its 3rd argument, which is 64-bits on the alpha. The 'len'
variable used was a int, which is only 32-bits. Use size_t as the type
for 'len' to work-around this.
|
|
|
|
|
|
| |
a fallback username.
Reviewed by: green
|