pooka
a0e314dc77
shuffle flags a bit
2006-11-17 17:48:32 +00:00
pooka
a40549faca
namespace previous change under puffs_vfsnop to avoid confusions
2006-11-14 11:45:03 +00:00
pooka
2d9b770ec5
implement unmount, sync and statvfs as dummies for file system which
...
couldn't care less about implementing them
2006-11-14 11:23:44 +00:00
dogcow
cfe7a78c9c
change uint32_t to size_t; fixes build issue on 64-bit platforms.
2006-11-14 02:55:34 +00:00
christos
7f29b88c81
regen
2006-11-13 22:01:59 +00:00
pooka
c025c6ae8f
add note to BUGS about the questionable nature of puffs_node
2006-11-13 21:09:16 +00:00
pooka
c3f04e4e04
sync with change to lookup
2006-11-13 21:06:16 +00:00
tnozaki
74fca02cf1
avoid infinity loop, iso2022 module's stdenc_get_state_desc_generic()
...
never return _STDENC_SDGEN_INITIAL.
2006-11-13 19:08:19 +00:00
tnozaki
79a70a823d
1. add iconv support for followint encoding:
...
Vietnamese
TCVN 8bit Viet Nam National Standard
VISCII 8bit RFC1456
VIQR 7bit RFC1456(libVIQR)
Unicode Escape (GNU libiconv compatibility)
C99, JAVA (libUES)
2. fix iconv_std module:
add special treatment for POSIX Defect Report #288 case.
2006-11-13 15:16:28 +00:00
dyoung
e3361bb265
Add strsep(3) to libkern.
...
To avoid code duplication, move strsep.c to the kernel/userland
common files.
Soon I will commit source-address selection (options IPSELSRC).
It will use strsep(3).
2006-11-13 03:26:43 +00:00
christos
21b2d7e28c
on non-x86 execl*.c needs alloca.
2006-11-11 21:16:00 +00:00
dsl
da38409c42
Add kadm5_err.h to DPSRSC (as is done in libkadm5srv) otherwise we
...
fail to create many of the .d files because kadm5_err.h isn't created
early enough.
I dunno why this ever worked, but mu hacked make is clearly building
stuff in a different order.
2006-11-11 14:00:56 +00:00
christos
e93069b387
PR/35034: Henning Petersen: Forgot to commit shlib_version
2006-11-11 07:40:45 +00:00
christos
8a264b331e
fix lint.
2006-11-10 17:37:39 +00:00
christos
10891a6668
compile alloca using code -Wno-stack-protector
2006-11-09 20:45:01 +00:00
christos
30ae5bcf37
libgcc needs __stack_chk_fail_local(); make it public
2006-11-09 20:44:16 +00:00
christos
6ce0a263c4
no point in using alloca here.
2006-11-09 17:02:52 +00:00
christos
72301cb079
don't use alloca with ssp.
2006-11-09 16:58:38 +00:00
he
597433ec76
Add missing argument and correct name of __vsnprintf_chk() declaration.
2006-11-09 15:31:11 +00:00
pooka
80ce20607e
* catch up with kernel changes
...
* better error handling when mounting
2006-11-09 13:11:01 +00:00
christos
0b1f5855c2
no stack protector warning for execvp
2006-11-09 04:00:11 +00:00
christos
4ba9b8cfbe
undo the previous; we need alloca here, otherwise the parent will leak on
...
vfork.
2006-11-09 03:57:26 +00:00
christos
e0d6d71d76
use mmap instead of malloc because we may have vforked. pointed out by yamt.
2006-11-09 02:51:52 +00:00
pooka
b8a1eae019
initial documentation for the puffs library interface
2006-11-09 01:30:15 +00:00
christos
249933b899
if we are using ssp, use malloc instead of alloca.
2006-11-08 23:27:32 +00:00
christos
7734d80e4d
Add the threaded version.
2006-11-08 23:25:54 +00:00
christos
b9692a922e
fix typo.
2006-11-08 22:07:23 +00:00
drochner
58bd20f660
if setcontext(2) returns, _exit(2) with a return code of -1 instead
...
of relying on a sensible return value
2006-11-08 21:16:40 +00:00
christos
146343edd5
add ssp code and bump.
2006-11-08 20:58:23 +00:00
christos
dc0c2709da
Add libssp.
2006-11-08 20:52:39 +00:00
drochner
97ffbcd858
cleanup unused stuff after hmac_* removal
2006-11-08 20:37:14 +00:00
drochner
ac9d7f2faf
-check for a NULL uc_link before calling setcontext(2); do a real exit(3)
...
instead with exit handlers and all that
-If setcontext(2) returns (which it shouldn't), do an _exit(-1) rather
than relying on a sensible return value to use as exit code. Makes
it less likely that an ucontext corruption goes unnoticed.
2006-11-08 20:28:03 +00:00
christos
f499cd524a
Add a BSD-licensed re-implementation of the gcc-4.1 libssp.
...
This adds bounds checking for the following functions:
memset, fgets, gets, memcpy, memmove, memset, snprintf, sprintf, strcat,
strcpy, strncat, strncpy, vsnprintf, vsprintf
This functionality is enabled by compiling with:
gcc -I/usr/include/ssp -D_FORTIFY_SOURCE=<1|2> -lssp
Eventually gcc will provide -ffortify-source or something to automate this
[we hope :-)]
2006-11-08 19:52:11 +00:00
pooka
010234739c
* support FAF (Fire-And-Forget) class operations
...
* adapt to new lookup
2006-11-07 22:10:53 +00:00
christos
b442c7cdd1
weak for syslog_ss
2006-11-05 04:35:35 +00:00
christos
67657e2f66
fix typo.
2006-11-03 23:16:12 +00:00
christos
c349a0b22c
nuke useless perror
2006-11-03 20:24:41 +00:00
christos
1d83cc5b6c
nuke perror.
2006-11-03 20:21:16 +00:00
christos
95c7627c87
use FD_CLOEXEC instead of 1.
2006-11-03 20:18:49 +00:00
christos
96b4176078
do the namespace protection properly; fixes the lint-library.
2006-11-03 20:16:28 +00:00
christos
f594ba0d61
protect the *syslog_ss
2006-11-03 20:16:04 +00:00
christos
4ed3eb7f90
init the syslog data.
2006-11-03 18:55:40 +00:00
christos
e76ecd93c1
use the re-entrant syslog functions so that we don't depend on the syslog
...
settings of the calling program.
2006-11-03 18:04:20 +00:00
christos
105f63f965
don't include syslog.h if you are not going to use it.
2006-11-03 18:03:23 +00:00
christos
1083e07a50
- verify that the log file is usable, otherwise re-open it.
...
- if the file is re-opened, clear the connected flag.
- don't check that the file is opened before connecting, because the
file will be opened then.
2006-11-02 20:36:29 +00:00
pooka
2261925b3f
last change to file.h modified struct magic: bump major
2006-10-31 21:53:17 +00:00
pooka
ee36ba9a5e
new magic entry types - bump minor
2006-10-31 21:33:16 +00:00
pooka
a13aa097ce
rebuild
2006-10-31 21:29:23 +00:00
cbiere
4b14bb6309
Changed error message of ENOPROTOOPT to "Protocol option not available".
2006-10-31 00:38:06 +00:00
mjf
b8fbc57a69
Add references to other filehandle man pages.
...
OK'd martin@
2006-10-30 18:53:42 +00:00