jmc
16e5222589
remove the ls=ls -gCF alias: we already have an alias for ls (-CF),
and now that the behaviour of -g has changed to be more in line
with posix, we get group ID by default anyway;
kick started by PR 5784 from Jacek Masiulaniec;
discussed with otto and sobrado;
ok deraadt millert
16 years ago
djm
f4d35a1a7f
unbreak MALLOC_OPTIONS=G that I broke in my last commit;
slightly kludgey solution for until otto fixes it properly; ok otto@
16 years ago
djm
e2b5c86e43
fix calloc() for MALLOC_OPTIONS=J case: SOME_JUNK was being filled into
the freshly mmaped pages disrupting their pure zeroness;
ok otto@ deraadt@
16 years ago
djm
11ee72166d
unbreak wcschr(string, L'\0') which was incorrectly returning NULL
rather than a pointer to the terminating nul; ok deraadt@
16 years ago
otto
1e4c360dbd
make sure we always map and unmap multiples of MALLOC_PAGESIZE;
case spotted by beck, one by me; ok deraadt@ beck@
16 years ago
otto
74022f5554
Smarter implementation of calloc(3), which uses the fact that mmap(2)
returns zero filled pages; remember to replace this function as well if you
provide your own malloc implementation; ok djm@ deraadt@
16 years ago
kettenis
d35f2d3adb
Don't install libbfd and libopcodes and the associated headers.
They really are just a way to share common code between gdb and binutils
(which in the GNU world are seperate packages). The developers (and I'm
one of them) make absolutely no effert to maintain a stable API/ABI.
If ports people really need libbfd or libopcodes, they should just
package a suitable version.
ok weingart@, deraadt@
16 years ago
sthen
009f476425
Tools from /usr may not be used in netstart since it may be NFS-mounted
and not available at that time. Rewrite the hostname.if permission check
to use only /bin/ls and the shell. Requested by deraadt.
ok todd, "Twisted." deraadt
16 years ago
otto
3b4110eeac
small cleanup of error/warning strings
16 years ago
miod
af2d1d10b8
Split SHA1Transform() back into smaller pieces when compiling on landisk,
to defeat gcc optimization bugs. Similar to what had been done on sparc64
in the past.
ok millert@ deraadt@
16 years ago
jmc
04276713d5
example code fix from Will Maier; ok otto
16 years ago
otto
1eac738a69
man page bits for new malloc; ok jmc@
16 years ago
otto
c2d85e2043
Almost complete rewrite of malloc, to have a more efficient data
structure of tracking pages returned by mmap(). Lots of testing by
lots of people, thanks to you all.
ok djm@ (for a slighly earlier version) deraadt@
16 years ago
jsing
bb875cd772
Specify a cdroot entry that will actually work on a CD.
ok krw@
16 years ago
martynas
78ab2d3f04
unXXX prototypes: exp2, remquo, nan, exp2f, remquof, nanf
16 years ago
martynas
23b62ad623
- add NAN definition (except on VAX)
- add C99 real-floating macros fpclassify isfinite isinf isnan
isnormal signbit
- add C99 macros isgreater isgreaterequal isless islessequal
islessgreater isunordered
- add function prototypes, __fpclassify __fpclassifyf __fpclassifyl
__isfinite __isfinitef __isfinitel __isinf __isinfl __isnan __isnanl
__isnormal __isnormalf __isnormall __signbit __signbitf __signbitl
ok millert@
16 years ago
sthen
eca03c4660
Prevent warning about insecure hostnames where no /etc/hostname.*
exists. From wcmaier@.
Check target of symbolic links to avoid noise at boot and in
seucrity output where you have several interfaces symlinked to one
config file.
"If you think this is the right thing to do" deraadt@
16 years ago
martynas
5596c94760
- added HUGE_VALF, HUGE_VALL, INFINITY, FP_INFINITE, FP_NAN,
FP_NORMAL, FP_SUBNORMAL, FP_ZERO, FP_ILOGB0, FP_ILOGBNAN definitions,
per C99
- classify functions into sections, add missing definitions, add
and some '#if 0' functions, and long double definitions, so we see
what's needed to be done
- other stuff is XXX'd, and will be uncommented soon
ok millert@
16 years ago
martynas
1d0863a09a
- add proper double_t and float_t definitions for each arch
- math.h shouldn't define FLT_EVAL_METHOD, but float.h should (per
C99). remove from math.h, and add proper definitions in float.h
ok millert@
16 years ago
claudio
3024525a7d
Use errx instead of fprintf, exit combo.
Diff from Gleydson Soares gsoares (at) gmail (dot) com
OK henning@
16 years ago
martynas
7e25e8a2b9
infnan always returned wrong values, because compiler assumed it
returns integer value, so add missing prototype
ok millert@
16 years ago
miod
ef96a3bfd3
Regen
16 years ago
miod
0f7c8e5ebb
/dev/tuner description should point out to bktr(4), spotted by jmc.
16 years ago
miod
807271727a
Do not create /dev/joy* and /dev/{r,}mcd* nodes, these devices are not
available on amd64.
16 years ago
djm
664640fdd4
automatically populate net.inet.(tcp|udp).baddynamic with the
contents of /etc/services so as to avoid randomly allocating
source ports that correspond to well-known services. Auto-filling
of the baddynamic tables is performed before reading sysctl.conf,
so it is still possible to add or subtract ports, or override the
autofilling entirely there.
Note that this requires a new kernel and /sbin/sysctl.
feedback markus@ ok markus@ deraadt@ millert@
16 years ago
deraadt
4b55d5a789
move to 4.4-beta
16 years ago
mglocker
f2601ead00
regen
16 years ago
mglocker
69ca13d297
Move video(4) entry in MAKEDEV(8) from the "USB devices" section to the
"Special purpose devices" section, since a hardware driver which uses
video(4) also could be none-USB as long it uses the V4L2 API.
OK todd@
16 years ago
todd
22aeab8b1e
sync
16 years ago
todd
8a0cd381fb
fix bio major, only took a year to test
16 years ago
todd
80c6eed755
add _ypldap; ok deraadt@
16 years ago
otto
1a0f40457e
add _ypldap; ok deraadt@
16 years ago
pyr
321acf2f5f
add user and group needed for ypldap.
16 years ago
ray
8e0491f90a
First pass at removing clauses 3 and 4 from NetBSD licenses.
Not sure what's more surprising: how long it took for NetBSD to
catch up to the rest of the BSDs (including UCB), or the amount of
code that NetBSD has claimed for itself without attributing to the
actual authors.
OK deraadt@
16 years ago
millert
613e4bcb94
Move _POSIX_THREAD_SAFE_FUNCTIONS into unistd.h and set it to 200112
now that we support all the _r functions required by POSIX 1003.1-2001.
Also define _POSIX_REENTRANT_FUNCTIONS. OK kurt@ deraadt@
16 years ago
millert
1588579869
Add _PW_BUF_LEN define and use it instead of hard-coding 1024 for
the buffer size. OK deraadt@
16 years ago
jmc
09457d08b5
regen;
16 years ago
jmc
955382a3e0
sort; ok todd
16 years ago
deraadt
2f1bd14d3d
prototypes for getpwnam_r() and getpwuid_r()
16 years ago
otto
5e77e2a42a
remove recalloc; sloppy me; ok deraadt@
16 years ago
ragge
a360460b04
Remove obsolete (and erroneous) #if statement that caused all compilers
except for gcc to get the wrong prototype. Ok millert@
16 years ago
todd
e4da9873d4
sync
16 years ago
todd
aabcc07256
sort, prompted by jmc@
16 years ago
todd
4715d9f5b2
build MAKEDEV.8's conditionally upon more than just rcsid changes also
16 years ago
david
d309b20fd2
+_rtadvd here too; ok deraadt@
16 years ago
sturm
e55053ef90
start rpc.statd together with rpc.lockd
"just get it in" deraadt
16 years ago
deraadt
408fcd6572
minor touch
16 years ago
todd
82c6cb22bd
clean
16 years ago
todd
6ba8116018
be smarter, only write a new MAKEDEV if more than just the rcsid changed
16 years ago
deraadt
a82882b0a2
shorten SUBDIR list
16 years ago