christos
661bee744c
unconst argument to swapctl().
2005-06-12 02:57:58 +00:00
yamt
2d02304deb
use malloc rather than mem_alloc (which is implemented using calloc)
...
for receive/send buffers to avoid unnecessarily anonymous memory bloat.
2005-06-09 22:13:17 +00:00
he
87292a6062
Initialize a variable to appease -Wuninitialized.
...
Marked with XXXGCC for dreamcast (found while compiling for it).
Reviewed by lukem.
2005-06-07 09:13:43 +00:00
chs
157d1a93e8
remove sigtramp version 1, we haven't used it in a long time.
2005-06-05 19:02:10 +00:00
chs
bb7a930a0b
fix function name in end-marker.
2005-06-05 19:01:04 +00:00
lukem
e82ae39d67
Cosmetic tweak previous; IMHO we don't need the XXX comment in this
...
case, since I prefer to NULL initialize variables in this situation.
2005-06-05 01:15:29 +00:00
he
0d43148fcf
Add an initialization to appease -Wuninitialized. Apparently the
...
sparc64 compiler gets this wrong.
2005-06-04 22:14:00 +00:00
dsl
217446d2aa
Only advance 'p' once each time around the loop....
2005-06-04 20:09:56 +00:00
wiz
2b67bf1d7d
Bump date for previous.
2005-06-04 00:39:26 +00:00
wiz
649ba88889
Sort options.
2005-06-03 20:32:20 +00:00
scw
a14b1c10ef
Nuke trailing whitespace.
2005-06-02 08:18:20 +00:00
lukem
7fbaf47f83
Compile the following files with -Wno-uninitialized:
...
vfprintf.c See rev 1.46 for why we can't fix this.
vfwprintf.c Needs some effort
vfwscanf.c Needs some effort
2005-06-01 11:06:01 +00:00
lukem
46af29904e
appease gcc -Wuninitialized
2005-06-01 05:54:07 +00:00
lukem
3af3e6a479
appease gcc -Wuninitialized
2005-06-01 05:41:48 +00:00
lukem
63246b1ef4
Ensure dbp is initialized to NULL before trying to use it in an error codepath.
...
Detected with gcc -Wuninitialized.
(The bug was introduced in rev 1.13. Hi Mycroft! :)
2005-06-01 05:39:17 +00:00
lukem
d999a32485
Ensure that we don't try to free random memory when another malloc fails,
...
by initializing newprepare, newparent, and newchild to NULL.
Detected by gcc -Wuninitialized.
2005-06-01 05:30:54 +00:00
lukem
b8fe389b4c
Exit via the correct cleanup path; we can't munmap until the mmap has
...
been performed.
Detected with gcc -Wuninitialized.
(The bug was introduced in rev 1.22. Hi Ragge! :)
2005-06-01 05:24:54 +00:00
lukem
2f0fdfa7f7
Move the test for "more strict reverse lookup handling" to the correct
...
location so that an uninitialized `in' won't be used if net_i == BYADDR.
Detected with gcc -Wuninitialized, confirmed by diffing against BIND 4.9.11.
(The bug was introduced in rev 1.26. Hi Itojun! :)
2005-06-01 05:19:21 +00:00
lukem
178e201b11
appease gcc -Wuninitialized
2005-06-01 04:38:40 +00:00
thorpej
d93ab54e03
Use TOOL_GENASSYM. Part of PR toolchain/30350
2005-05-30 16:02:56 +00:00
christos
524267d3f8
It is really pointless to come up with new implementations of the wide string
...
functions instead of using the narrow string ones. Make this look like
strchr, so that wcschr(L"foo", L'\0') does not return NULL as it should.
2005-05-30 06:00:01 +00:00
christos
385ca9a533
Remove the bogus const.
2005-05-29 21:12:27 +00:00
lukem
f162f2532e
convert to ANSI prototypes. some KNF
2005-05-28 13:11:14 +00:00
lukem
af98cf1789
missed a free(3) in previous
2005-05-28 13:06:14 +00:00
lukem
b7289610e1
Use malloc(3) instead of the non-standard alloca(3) in MAKEEXTRALIST(),
...
check the return value of malloc(3) and return "" (or equiv) upon failure,
and free the result of the malloc(3).
2005-05-28 12:57:48 +00:00
kleink
13034da908
Add restrict qualifiers to fopen()/freopen() arguments.
2005-05-25 16:01:24 +00:00
wiz
5165223fca
Bump date for standards.
2005-05-25 10:05:22 +00:00
wiz
7ebb6744fd
<> -> Aq.
2005-05-25 10:04:37 +00:00
kleink
c0b528fad0
Truth, meet standards section. Standards section, meet truth.
2005-05-24 18:01:36 +00:00
wiz
e01d6f96c3
New sentence, new line. <> -> Aq. Bump date for previous.
2005-05-24 15:58:11 +00:00
elad
6755bac719
Add man-page bits about the 'count' node.
2005-05-24 15:47:46 +00:00
uwe
faedc2c4d1
Prettify. Avoid code duplication.
...
Same object code is generated.
2005-05-20 23:56:15 +00:00
lukem
47d12f36e7
Use a more standard TNF license (than one that has clause 3 for UCB
...
& refers to "THE REGENTS").
Confirmed with Lex, who added it.
2005-05-20 01:22:48 +00:00
elad
5888b16eef
Some changes in veriexec.
...
New features:
- Add a veriexec_report() routine to make most reporting consistent and
remove some common code.
- Add 'strict' mode that controls how veriexec behaves.
- Add sysctl knobs:
o kern.veriexec.verbose controls verbosity levels. Value: 0, 1.
o kern.veriexec.strict controls strict level. Values: 0, 1, 2. See
documentation in sysctl(3) for details.
o kern.veriexec.algorithms returns a string with a space separated
list of supported hashing algorithms in veriexec.
- Updated documentation in man pages for sysctl(3) and sysctl(8).
Bug fixes:
- veriexec_removechk(): Code cleanup + handle FINGERPRINT_NOTEVAL
correctly.
- exec_script(): Don't pass 0 as flag when executing a script; use the
defined VERIEXEC_INDIRECT - which is 1. Makes indirect execution
enforcement work.
- Fix some printing formats and types..
2005-05-19 20:16:19 +00:00
peter
838f5a9f71
- setmode() can fail on strtol(3); note this.
...
- Use .Va for errno.
2005-05-17 21:54:06 +00:00
lukem
9704a33c9a
Remove clause 3 from the UCB license.
...
XXX: the separate TNF copyright block should be converted to a standard TNF one
2005-05-16 13:13:12 +00:00
lukem
a1273fe760
More whitespace consistency tweaks
2005-05-16 11:42:04 +00:00
lukem
248b38c348
Whitespace consistency fixes.
2005-05-16 11:40:16 +00:00
dsl
54cc3da266
Make the arg to getnetconfigent const char * to match the man page (and
...
likely calling code).
2005-05-15 20:54:41 +00:00
yamt
176be94d27
add fgetwln.
2005-05-15 13:09:13 +00:00
christos
6a08589259
bump for wide stdio functions.
2005-05-14 23:51:16 +00:00
christos
f432bbb6fd
Add the missing wide char support functions from freebsd.
...
XXX: long double support is missing until we get gdtoa, and add the
necessary wide functions.
2005-05-14 23:51:02 +00:00
tshiozak
a023aa0fb7
* add some comments.
...
* add some functions:
_citrus_memory_stream_bind_ptr()
_citrus_memory_stream_tell()
_citrus_memory_stream_ungetc()
_citrus_region_get_subregion()
* fix a bug in _citrus_memory_stream_seek().
2005-05-14 17:55:42 +00:00
christos
d1ca0533bf
make sure ty_class is cleared on each entry.
2005-05-14 15:43:47 +00:00
perry
478944b35b
Change HISTORY. It traces execve only back to 4.2BSD, and it is a
...
touch older than that. (Surprisingly, though, it doesn't appear to
have been in v6.)
2005-05-07 17:29:19 +00:00
perry
d2b93fe0e9
cross reference script.7
2005-05-07 02:38:41 +00:00
perry
d11d9afc47
cross reference script(7)
2005-05-07 02:32:35 +00:00
jmc
ff69cd3f50
The __used__ change doesn't work on 2.95/vax. Put an #ifdef back in for vax and
...
reverted it to __unused__ as it was before
2005-05-06 19:32:30 +00:00
rearnsha
dd7174bb3e
On ARMv5 reduce the value to the LSB before using CLZ. Otherwise we'll
...
calculate the position of the MSB not the LSB.
2005-05-06 09:50:25 +00:00
matt
57947b7b48
Make longjmp on vax not use sigreturn. Instead it rewrites the
...
jmp_buf into one compatible with __longjmp14 and relies on that
to change that into a ucontext_t suitable for setcontext(2).
2005-05-03 04:37:33 +00:00