sobrado
b34b94055a
use the same spacing style as in /etc/ftpchroot and /etc/ftpusers;
it is more consistent and easier to read.
16 years ago
sobrado
addc782363
write ftpd(8) in a more appropriate way.
16 years ago
miod
9d6b82c31e
_PATH_DRUM is no more.
16 years ago
kettenis
8190702bc1
Add wcstof(3) and wcstold(3).
ok miod@
16 years ago
kettenis
2bf163391d
Add wcstoimax(3) and wcstoumax(3).
ok miod@
16 years ago
djm
10887343e6
reintroduce extra malloc protections, but avoiding the use of
PAGE_(SIZE|SHIFT|MASK) defines that evaluate to variables on the
sparc architecture;
ok otto@ tested on my reanimated ss20
16 years ago
deraadt
69d34d79a8
PAGE_SIZE is not a valid symbol to use in that way. In particular,
on sparc, it expands to something that just plain does not work,
because the page size can be variable. Sorry we didn't spot this
before. Backing it all out to allow sparc to build; please find a
different way to fix it.
16 years ago
djm
d835fe24d1
Remove mprotecting of struct dir_info introduced in previous commit
(MALLOC_OPTIONS=L). It was too slow to turn on by default, and we
don't do optional security.
requested by deraadt@ grumbling ok otto@
16 years ago
djm
b1b6e37e4e
extra paranoia for malloc(3):
Move all runtime options into a structure that is made read-only
(via mprotect) after initialisation to protect against attacks that
overwrite options to turn off malloc protections (e.g. use-after-free)
Allocate the main bookkeeping data (struct dir_info) using mmap(),
thereby giving it an unpredictable address. Place a PROT_NONE guard
page on either side to further frustrate attacks on it.
Add a new 'L' option that maps struct dir_info PROT_NONE except when
in the allocator code itself. Makes attacks on it basically impossible.
feedback tedu deraadt otto canacar
ok otto
16 years ago
jakob
9ee37f4610
update root.hint; IPv6 address for L-root added
16 years ago
reyk
fe27ed1eb0
Link the directory containing the MIB definitions for snmpd(8).
16 years ago
deraadt
81a1885e03
repair the ARC4 story; ok jmc djm millert
16 years ago
otto
ce9fb22525
shave off more bytes than you expect by declaring a few const local arrays
as static const
16 years ago
naddy
43d49fafa4
Bump size of isakmpd RSA host key up to 2048 bits to match the
SSH2-RSA size; ok hshoexer@, no objection from miod@
16 years ago
martynas
e2b641869d
add __infinityf declaration. (only affects vax). pointed out by miod@
16 years ago
claudio
e4276bb410
Correctly skip the internal fd when checking the server sockets. Use PFD_MAX
to start the for loop and not 1 which was correct long long time ago.
OK otto@ found by Anirban Sinha ASinha(at)zeugmasystems.com
16 years ago
martynas
c67177f765
expose extended-precision definitions. ok millert@
16 years ago
otto
21180bf08e
Commit requested by marco:
Add nonblock support for xdrrecs
ok millert blambert & otto; from NetBSD. libc bump to follow soon.
16 years ago
otto
bd870c5e03
fix inet_ntop(3) prototype; ok millert@ libc to be bumbed very soon
16 years ago
ray
6da81f8a9c
Don't have anything after #endif.
Caught by pcc.
OK martynas
16 years ago
jakemsr
99471cbd89
sync
16 years ago
jakemsr
2b45b3f0b1
make 'MAKEDEV all' create device nodes for 3 separate audio devices
instead of just 1.
ok todd@
16 years ago
uwe
d22c41ab9e
Add bt=YES to /etc/rc.conf.local to start the daemon
16 years ago
fkr
fd7f451ac8
aliases is sorted alphabetically, so move up '_btd'.
pointed out by jmc@
16 years ago
pedro
09239b2280
Fix typo, okay jmc@.
16 years ago
fkr
552defdcaf
add '_btd' to the aliases too. of course, I forgot that.
spotted by rainer@, ok uwe@
16 years ago
fkr
1f956d470c
add '_btd' here too.
16 years ago
fkr
888665b216
add user '_btd' for the bluetooth daemon.
discussed with and ok uwe@
16 years ago
markus
c80ee407db
delay /etc/netstart until IPv6-DAD (dup-address-detection) is completed.
ok fries, hshoexer, claudio
16 years ago
otto
5b2827b23a
move allocations between half a page and a page as close to the end of
the page as possible (i.e. make malloc option P a default).
ok art@ millert@ krw@
16 years ago
otto
c2a4892aa1
Reduce the leeway malloc allows when moving allocations to the end of
a page to 0. P default will be changed in a separate commit.
ok millert@ art@ krw@
16 years ago
otto
c85d8de1f7
To allow for easier playing with more strict settings introduce
a separate symbolic constant for the leeway we allow when moving
allocations towards the end of a page. No functional change.
16 years ago
deraadt
66d9f22e7a
back out bloaty bullshit from IANA
16 years ago
ian
33b6e56eb3
Add openvpn, gpsd and subversion, from IANA. ok djm@
16 years ago
otto
7fae3fd69f
avoid a few strlen calls for constant strings; prompted by tg; ok djm@
16 years ago
deraadt
1aa383330e
delete operation not needed; from naddy
16 years ago
deraadt
7a1c705b0b
If a bind() spuriously fails (as appears to happen once in a blue moon due
to some stupid ipv6 bug in particular), remove that 'listen' from the list
and continue operation. issue spotted by naddy
ok henning
16 years ago
otto
2e3909a133
if the freeprot flag (F) is set, do not do delayed frees for chunks
(might catch errors closer to the trouble spot) and junk fill pages just
before reuse instead of immediate (we can't access the page anyway)
since we set PROT_NONE in the F case. ok djm@
16 years ago
otto
e19c3ba2dd
fix markup of example line and description of G flag; partly from and
ok jmc@
16 years ago
otto
96f3e731f5
remove distinction between warnings and errors, ok deraadt@ djm@
16 years ago
otto
02508dddff
if MALLOC_STATS is defined, record how many "cheap reallocs" were
tried and how many actually succeeded.
16 years ago
ratchov
fede95fb94
rename libsa to libsndio
requested by many, "just go for it" deraadt@
16 years ago
espie
6cff11dc94
no cookie for ratchov, committed things without running make build.
16 years ago
otto
2fbc2b3c20
oops, assign errno the right way. caught by david running regress tests
16 years ago
henning
6d35b226f2
bring in findeol() fix from pfctl
16 years ago
deraadt
2a6651e21e
sync
16 years ago
deraadt
da7a096f90
skip making /dev/prandom. as a side effect, /dev/arandom becomes minor 3.
but that is OK because both minor 3 and 4 now do the same thing. eventually,
2 releases from now, everyone will have forgotten about minor 4 and we can
delete the support code for it from sys/dev/rnd.c
various versions of this looked at by millert and todd
16 years ago
sthen
1fba7a6e18
- use nmea(4) for general sensor example rather than udcf(4)
which only works in w.europe
- use a more realistic value for udcf correction example
- use a GPS-only receiver for "refid GPS" example
suggested/ok mbalmer
16 years ago
sthen
d3613a0eb8
show examples for sensors. use nmea as suggested by mbalmer, henning agrees.
16 years ago
todd
4064d763bd
sync with grand.central.org; prompted by pr#5817
16 years ago