wiz
09cb1d6f1c
s/existance/existence/, from Zafer.
2006-11-24 22:52:16 +00:00
christos
1665d5e960
fix spelling of accommodate; from Zapher.
2006-11-24 19:46:58 +00:00
christos
aac134252a
From defend dot the dot world at gmail dot com: Sanitize environment variables
...
for set{u,g}id binaries, so that in case they are playing with set{u,g}id
and exec'ing other binaries they don't get affected by the
LD_{PRELOAD,DEBUG,LIBRARY_PATH} environment setup. We leave LD_BIND_NOW alone.
There are no binaries affected in the base system.
2006-11-22 21:46:36 +00:00
tls
86c7b9ff84
Temporarily disable -c (file coalescing) until data corruption issues can
...
be resolved.
2006-11-18 18:43:25 +00:00
atatat
bade8c3805
remove stray links
2006-11-16 04:43:32 +00:00
christos
2343154519
pass lint
2006-11-16 04:31:24 +00:00
christos
f8013c3836
fix gcc4 sign issues.
2006-11-16 04:15:13 +00:00
christos
a682c5bf65
- remove stray mlinks
...
- remove gcc4 hacks
2006-11-16 04:14:50 +00:00
christos
96a58b2a60
more uucp cleanup
2006-11-16 00:49:20 +00:00
christos
bc2479d202
no more rmail.
2006-11-12 01:27:29 +00:00
jmmv
2947e73b43
Move lfs_cleanerd from /usr/libexec to /libexec. This is to allow putting
...
the root file system on a LFS volume.
Addresses PR bin/30407. No objections in tech-userlevel@.
2006-11-11 14:47:27 +00:00
christos
161813f9e4
eliminate alloca for ssp.
2006-11-09 19:45:57 +00:00
skrll
6f388cd224
Create _rtld_relocate_plt_object and use it in _rtld_bind and
...
_rtld_relocate_plt_objects.
No functional change.
2006-10-17 08:33:36 +00:00
skrll
152e43d87a
Support unaligned DIR32 relocs.
...
Closes PR 18293
2006-10-17 08:28:06 +00:00
skrll
edf13fb5fb
Reformat a comment.
2006-10-16 13:53:09 +00:00
skrll
78b8583054
Correct the frame size for a couple of ENTRYs
2006-10-16 13:52:47 +00:00
wiz
818a1c08a3
Fix typo in macro.
2006-10-13 20:28:06 +00:00
wiz
f10fc51879
Sort SEE ALSO.
2006-10-13 20:27:42 +00:00
peter
e263dfd62f
WFORMAT is no more...
2006-10-08 17:52:28 +00:00
elad
7d7720ce94
Don't print uninitialized errno, from David A. Holland on #NetBSD-code
2006-10-07 18:26:40 +00:00
elad
516c371048
PR/13478: Greg A. Woods: some tty-related documentation fixes
...
Patch applied with "minor tweaks" from me, thanks!
2006-10-06 22:07:44 +00:00
christos
a0feefba6a
Avoid buffer overflow.
2006-09-29 17:02:04 +00:00
christos
36ac62d963
PR/34658: der Mouse: identd truncates queries to first segment
2006-09-29 15:49:29 +00:00
christos
fec1382c1e
Coverity CID 3931: Fix memory leak.
2006-09-27 17:15:20 +00:00
lukem
c7e71f1d87
Fix -ULOGIN_CAP compile.
2006-09-26 06:47:20 +00:00
lukem
6dd25eb757
Update to 20060923 for the following changes:
...
20060201
debug -> ftpd_debug
xstrdup -> ftpd_strdup
20060317
* Make sure that "su" is initialized before dereferencing it.
Fixes Coverity CID 1075.
* Set file to NULL after calling fclose().
Fixes Coverity CID 2669.
* Remove unreachable code (res could never be NULL here).
Fixes Coverity CID 712.
20060509
change (mostly) int to socklen_t. GCC 4 doesn't like that int and
socklen_t are different signness.
20060923
Apply patch from PR bin/33261 sent by FUKAOMI Naoki:
"ftpd does not update wtmpx".
2006-09-25 06:30:55 +00:00
xtraeme
47e7cfa9b7
Apply patch from PR bin/33261 sent by FUKAOMI Naoki:
...
"ftpd does not update wtmpx".
Thanks.
2006-09-23 16:03:50 +00:00
hubertf
5163058672
Handle .br - this makes processing of the netbsd-4
...
src/dist/bzip2/bzip2.1 file work:
Before:
% getNAME /usr/cvs/src-4/dist/bzip2/bzip2.1
bzip2, bunzip2 (1) - a block-sorting file compressor, v1.0.2 .br bzcat (1) - decompresses files to stdout .br bzip2recover (1) - recovers data from damaged bzip2 files
After:
% getNAME /usr/cvs/src-4/dist/bzip2/bzip2.1
bzip2, bunzip2 (1) - a block-sorting file compressor, v1.0.2
bzcat (1) - decompresses files to stdout
bzip2recover (1) - recovers data from damaged bzip2 files
Verified with code from src/share/man/man0 that nothing else was
broken by this change.
2006-09-12 21:56:43 +00:00
perseant
a2ecf39b35
Pay attention to the new LFS_CLEANER_MUST_CLEAN flag in the Ifile.
2006-09-01 19:43:51 +00:00
christos
e3b62f5882
Only include libutil if !HOSTPROG
2006-08-30 12:11:40 +00:00
simonb
676a630d08
Simplify multiple MACHINE_ARCH endian checks with single MACHINE_CPU
...
checks.
2006-08-27 07:22:02 +00:00
christos
5a7156cc58
use efun(3)
2006-08-26 18:18:16 +00:00
martin
b4cb63a646
Make filehandles opaque to userland
2006-07-31 16:34:42 +00:00
martin
a3b5baed42
Fix alignement problems for fhandle_t, exposed by gcc4.1.
...
While touching all vptofh/fhtovp functions, get rid of VFS_MAXFIDSIZ,
version the getfh(2) syscall and explicitly pass the size available in
the filehandle from userland.
Discussed on tech-kern, with lots of help from yamt (thanks!).
2006-07-13 12:00:24 +00:00
perseant
21393db687
Place an upper bound on the number of segments to clean at one time, no
...
matter how empty they are.
Note that if two blocks have the same inode and block number, they sort
the same (this should never happen, but if it does there's no reason to
have qsort scramble the list).
Add some diagnostic syslog messages for unusual cases.
2006-07-07 18:19:30 +00:00
skrll
a238470b22
Add (back) -Wl,-static to the link.
2006-06-29 19:30:59 +00:00
simonb
428d37fad6
Fix unaligned loads and stores generated by gcc4. Problem described in
...
http://mail-index.NetBSD.org/tech-toolchain/2006/06/27/0001.html .
This cleaner version of the patch from Christos - thanks!
2006-06-28 16:48:38 +00:00
simonb
7d5684f475
Use .previous at the end of the NetBSD ident note so that we switch
...
back to the previous section. Fixes build problems on MIPS with gcc4
and -g.
2006-06-13 13:55:58 +00:00
mrg
0f0f2b4e93
in _rtld_bind() initialise new_value for GCC4.
2006-05-23 16:27:41 +00:00
drochner
eb92277cd7
sprinkle some __noreturn__ attributes, saves gcc4 warnings elsewhere
2006-05-22 19:49:09 +00:00
mrg
d677e4a13a
avoid more GCC4 uninitialised variable problems. (sh3 known, vax guessed.)
2006-05-21 04:17:35 +00:00
dan
b995f58933
appease gcc4 uninitialiased warning
...
ok mrg.
2006-05-20 23:38:27 +00:00
mrg
82f7733046
in _rtld_bind() initialise result to appease GCC4.
2006-05-20 07:09:44 +00:00
christos
df73c1693c
Coverity CID 3766: Avoid null pointer deref
2006-05-19 14:46:17 +00:00
perseant
45dc123d6e
Be more careful about checking return value of {m,re}alloc().
...
In determining when to stop reading segments when counting bytes (-b flag),
total the sizes of the blocks we're actually writing instead of assuming
they are all full blocks: many could be fragments or inode blocks. This
increases the number of segments per Ifile write, markedly improving the
efficiency of the cleaner in the small file case.
2006-05-12 19:33:02 +00:00
mrg
aadd7d4847
sprinkle some -fno-strict-aliasing and -Wno-pointer-sign with GCC4.
2006-05-11 23:16:28 +00:00
mrg
6daaa2e383
use a u_char[] when it is expected.
2006-05-11 12:27:21 +00:00
mrg
bb50bce731
avoid some char * vs. u_char * issues.
2006-05-11 12:26:38 +00:00
mrg
4bc6feceb6
end the argument list to exec*(3) with a NULL instead of a bare '0', as
...
the latter isn't a pointer context in these varargs functions.
2006-05-11 00:22:52 +00:00
mrg
084c052803
quell GCC 4.1 uninitialised variable warnings.
...
XXX: we should audit the tree for which old ones are no longer needed
after getting the older compilers out of the tree..
2006-05-10 21:53:14 +00:00