deraadt
d72bbf4be3
getting to the bottom of the issues. sprinkle a few casts that will
actually help us find bugs later (with lint, not cc), if they get
introduced
18 years ago
otto
f37b50710e
- Plug huge mem leak; mostly samba was suffering.
- Fix semantics: seekdir(pos); telldir() shoud return pos. The code
that implements this will be made faster in a later commit.
- We loose documented behaviour (after closedir() the telldir()
positions are not valid anymore). This was never in Posix, and most
other systems have nothing like it.
Diff originally from Paul Thorn, rewritten by me using some FreeBSD
code. "slap it in" deraadt@
18 years ago
deraadt
16ce0f1f4d
(char)to{upper,lower}()
18 years ago
deraadt
6ba7d08d6c
kvm_openfiles() should take int flag, not unsigned
18 years ago
deraadt
69800b44d4
after we changed mode_t to be an int, the devname() man page was
updated but the function itself never was; ok millert
18 years ago
deraadt
db4a02f55c
casts that cannot cause breakage in the future
18 years ago
deraadt
937e47b3dc
change internal login_protect() API to use mode_t like it should
18 years ago
deraadt
8cc19b605a
please lint (without making anything else worse)
18 years ago
grunk
8dbf7287b5
Xr to strtonum(3), because vice versa is already the case
ok jmc@ otto@
18 years ago
deraadt
4c62bbc5bb
sync
18 years ago
deraadt
70479ae385
now move /dev/tty0* to refer to the com(4) driver, away from the zs(4)
driver
18 years ago
reyk
5ff13d280b
add hostapd to rc/rc.conf glue
suggested and ok by kettenis@
18 years ago
deraadt
d60464207b
sync
18 years ago
deraadt
0d9f9860fe
do not make {cua,tty}[cd] here
18 years ago
deraadt
9af155dc4a
add entries for ttya/ttyb
18 years ago
deraadt
c287ab8b2f
ttya now is same as tty00 (for a few days)
18 years ago
deraadt
698d994481
make /dev/ttya be an alias for /dev/tty00.
we are making the move where ttya will become the zs devices, and tty00
will support com(4) devices. ok drahn
18 years ago
ray
eb202d0369
Add warning about malloc(num * size) and recommend calloc() instead,
or if malloc must be used suggest check.
Get rid of "one".
OK deraadt@ and jmc@, OK kjell@ to earlier version with "one"s.
18 years ago
mickey
b449cbee1d
kill evil \r; from cedric
18 years ago
hshoexer
d273fc0336
As the isakmpd fifo race is fixed, hook ipsecctl to rc.
ok naddy@ todd@
18 years ago
david
78a28203dd
Fix for PR 5043: shell startup scripts might contain binary characters but
grep should assume ASCII text, fixes umask detection
ok millert@ jaredy@
18 years ago
deraadt
464b15913c
no more need for the aperture
18 years ago
deraadt
9e6169f7a8
no more need for aperture
18 years ago
ray
9ee3d71486
Removes extraneous variables from getopt(3). Inspired by one of
David Hill's diffs.
ok otto
18 years ago
deraadt
d1fa905e69
sync
18 years ago
deraadt
c7396fb3c6
/dev/reload is an old amiga thing, how did it make it here?
18 years ago
deraadt
e1e93afe35
move wsconsctl up earlier, so that any key changes made can be used
to (for instance) interrupt dhclient with a ^C instead of a 'CAPS-LOCK C'
from e@molioner.dk checked by matthieu
18 years ago
otto
592916e5d3
Use the new -s flag to mount the /usr and /var partitions. Avoids
doubly mounted mfs partitions. Also, at the end of the mount dance,
try mount all partitions, not just nfs partitions. Handles a case
where local paritition mounted inside a nfs partition where not
mounted by rc (/usr on nfs with a local /usr/obj, for example).
ok deraadt@ henning@
18 years ago
reyk
1e272ad48c
some IAPP implementations still use the pre-standard port 2313 in broadcast
mode (tested with the HP ProCurve 420wl). add a note to the manual page and
the example configuration.
18 years ago
miod
7ad0ceba7b
vt100->vt220; spotted by nick@
18 years ago
jmc
b371ed9cfb
grammar tweaks; ok hshoexer
18 years ago
otto
790f0cc439
Avouid a race in atexit() handling by introducing a lock. Problem
originally reported by Gergely Kovacs; help from dhartmei@;
ok tedu@ millert@
19 years ago
stevesk
b020f35b9f
handle -1 return from host_dns(); ok henning@
19 years ago
millert
4f242fe2ea
We no longer install the SystemV compatibility links. OK pvalchev@
19 years ago
espie
8accc3ec6c
quick path for free(0)
`looks to be safe' millert, okay tedu.
19 years ago
jmc
115b6ff464
typos from alexey dobriyan;
19 years ago
dhartmei
cf6a27c737
use full path to binary in (commented) relaydb example,
from jared rr spiegel, closes PR 4982, ok beck@
19 years ago
hshoexer
bed73850e0
Annotate _assert()/__assert2() as __dead.
As discussed with espie@, ok millert@
19 years ago
jmc
f90681086b
document posixness;
fixes pr #4996 , from joachim schipper;
19 years ago
camield
3cf5340b3f
update for new ftp-proxy
ok henning@
19 years ago
brad
2a2411f846
mention net.inet.ip.mforwarding.
ok beck@ kettenis@ norby@
19 years ago
henning
04bf0512a4
set skip is no good idea on int_if in this sample rulseset that also
has a rdo on $int_if that stops working then. pt out by cedric
19 years ago
dtucker
a37ee71683
Do not attempt to listen on interfaces with a wildcard address; ok henning@
19 years ago
dtucker
d71b0751da
Check SA_LEN(sa) after sa is checked for NULL. Pointed out by solar at
openwall.com, ok henning@
19 years ago
deraadt
58a4125b88
crank to 3.8-beta
19 years ago
jakemsr
f7752f35a4
missing auxillary verb
"yes, that is correct." jmc@ (a while back)
19 years ago
espie
f6c1fd6bee
use standard type uint32_t, instead of BSD-specific u_int32_t
tell user to get it through stdint.h (note old sys/types.h still works,
for now).
okay millert@, jmc@
19 years ago
jmc
4169f92843
back out previous - imaxabs is already listed;
19 years ago
millert
09528da913
Add comments to show which printf/scanf formats match which types
19 years ago
millert
f8ff83b550
Update {PRN,SCN}*PTR defines to match types changes
19 years ago