cbiere
1aaa06c687
Avoid a warning about an unused variable if compiling with -DNDEBUG.
...
Reported by Andreas Wiese in PR lib/35489.
2007-01-26 19:34:30 +00:00
cbiere
8544bfafc4
Fix for issue reported in PR lib/35401 as well as related overflow bugs.
2007-01-26 00:37:30 +00:00
cbiere
8521e1176a
* Consider all negative return values as error, not just -1.
...
* Corrected cast because (size_t) (INT_MAX + 1) is bogus.
2007-01-26 00:27:54 +00:00
jdc
3ad888c757
Pull down the following from the wcurses branch:
...
ctrace.c: revision 1.16.2.2
initscr.c: revision 1.27.18.2
Orginal commit message:
Do the debug initialisation only in ctrace.c. Otherwise, it might not
get done, for example, if we start curses with setterm() and not initscr().
2007-01-22 21:14:53 +00:00
christos
bbc680871a
Add another volatile, mentioned in current-users from a cross-build on amd64.
2007-01-22 15:06:31 +00:00
jdc
1f221324cf
Add debug "areas" that allow selective debugging by setting the
...
"CURSES_TRACE_MASK" environment variable. Postive vales include
debug areas, negative values exclude them.
2007-01-21 13:25:36 +00:00
blymn
fa0b432b40
Wide curses merge
2007-01-21 11:38:58 +00:00
blymn
17c16404e9
This file originates from the ncurses distribution, thanks to the ncurses people for letting us use it
2007-01-21 11:38:58 +00:00
blymn
5dfe4c8b18
Wide curses merge
2007-01-21 11:38:58 +00:00
ad
7630e3876c
pthread_create(): clear newthread->pt_sleeponq before calling _lwp_create().
2007-01-20 20:02:36 +00:00
christos
1eb6e5fbb2
add casts to pacify lint.
2007-01-20 18:58:11 +00:00
christos
25a0745d2e
remove unused variable/code.
2007-01-20 18:57:41 +00:00
christos
d1ddfe10b1
fix warning about indirect call without *
2007-01-20 18:56:30 +00:00
christos
b4634d8561
sprinkle volatile.
2007-01-20 18:00:15 +00:00
wiz
6d53f7319f
New sentence, new line.
2007-01-20 16:49:36 +00:00
pooka
1118cadca7
document puffs_docc
2007-01-20 15:11:02 +00:00
pooka
5581d777a3
xref puffs_req
2007-01-20 15:10:38 +00:00
pooka
2fbe1b2261
document request handling routines
2007-01-20 15:09:34 +00:00
pooka
288823a738
Be consistent with the rest of the framework about the argument
...
order of puffs_docc and puffs_dopreq
2007-01-20 14:37:06 +00:00
pooka
84e83df1bb
be consistent in naming request handlers
2007-01-20 13:52:14 +00:00
pooka
937097aa47
document puffs_getstate() and puffs_setstacksize()
2007-01-20 13:34:35 +00:00
wiz
b81f412f64
Sort ERRORS section.
2007-01-20 13:26:59 +00:00
wiz
0a4737c5de
Drop trailing whitespace.
2007-01-20 13:24:44 +00:00
wiz
2b5809387d
Sort SEE ALSO.
2007-01-20 13:23:59 +00:00
wiz
9e27ce3c1f
Sort sections.
2007-01-20 13:11:36 +00:00
christos
1636e22df7
set warns to 4
2007-01-20 04:56:25 +00:00
christos
3ca3d0b1e7
add a missing volatile.
2007-01-20 04:56:07 +00:00
ad
24d35c8592
Manual pages for new LWP system calls. Not enabled in the Makefile.
2007-01-20 01:41:00 +00:00
pooka
809ae5f803
Bring the documentation slightly more into sync with the current
...
reality. It's still really a far cry from proper documentation,
though.
2007-01-19 21:10:55 +00:00
drochner
11f2202b96
-fix use of arguments and remove an outdated section
...
-Xr mkfifo(2)
(btw, SUSv3 says that the only portable use of mknod() is to create
a FIFO. This is not supported by NetBSD.)
2007-01-18 14:07:01 +00:00
cbiere
75289275f1
isascii() and toascii() are defined for all integers unlike the other
...
functions. Explicitely mention "undefined behavior".
2007-01-18 11:33:13 +00:00
rillig
4d81a78185
Added a reference to ctype.3. What's the value of having that page at
...
all if it isn't referenced by others?
Suggested by Slava Semushin via private mail.
2007-01-18 08:35:07 +00:00
rillig
8b4906df56
Added a warning about a wrong usage, which is nevertheless often found
...
in real code, and an example code that does it correctly.
2007-01-18 08:33:34 +00:00
hubertf
55ac93d329
Remove more duplicate #includes, and a few spurious whitespaces at EOL
...
From Slava Semushin <slava.semushin@gmail.com>
2007-01-17 23:24:22 +00:00
seanb
e17c2f7f45
- Function no longer matched prototype after
...
move to ansi prototype in last commit; restore.
- Not noticed as weak aliases are used so the
code is not compiled in.
2007-01-17 16:39:20 +00:00
pooka
c068d370f2
revoke revoke
2007-01-16 22:37:17 +00:00
cbiere
13b350466e
Fixed string truncation bug in flags_to_string(): SAPPEND() uses
...
sizeof(string) but string is a pointer to a malloc()ed buffer.
2007-01-16 17:34:02 +00:00
ad
8e51dbdc7e
For 1:1 threads: __strong_alias(__libc_thr_yield,_sys_sched_yield)
2007-01-16 07:09:17 +00:00
ad
154a7ed75c
Add: _lwp_kill, _lwp_detach, _lwp_park, _lwp_unpark, _lwp_unpark_all,
...
sched_yield.
2007-01-16 07:07:45 +00:00
ad
b8daad9836
Fix a race between pthread_exit() and pthread_join().
2007-01-16 05:22:55 +00:00
ad
efb1fc06e2
Fix a race between pthread_create() and pthread_exit() in the 1:1 case.
2007-01-16 04:19:02 +00:00
ad
39aa27f5ce
Pass in the 'hint' argument when parking/unparking LWPs.
2007-01-16 01:35:16 +00:00
cbiere
f13e324ee5
Bail out on the first sysctl() error as suggested by Pierre Pronchery in
...
PR lib/35403. christos agreed it's cleaner.
2007-01-15 22:26:35 +00:00
pooka
05861b929d
Checkpoint some more work in progress: for the benefit those file
...
system backends which operate purely based on paths, push out more
path management into the library and make path management more
abstract: enable a file system to define a bunch of path management
callbacks, which are used by the framework. Management of normal
/this/is/a/path type paths is provided by the library.
2007-01-15 00:39:02 +00:00
cbiere
9946ea710f
Avoid lint warning.
2007-01-14 23:41:24 +00:00
cbiere
3984c614f6
Look only at the first `n' characters to avoid traversing a potentially
...
huge string for nothing.
2007-01-14 18:48:28 +00:00
christos
754eed8af3
PR/35411: Matthew Wala: inconsistency in editline(3): rename "num" to the
...
appropriate parameter names.
2007-01-12 16:31:13 +00:00
pooka
5014a4c9c2
For directory renames we need to rename all the child nodes for
...
the given directory if the file system wants paths (PUFFS_FLAG_BUILDPATH).
Do this by walking the nodelist and adjusting the path prefix of
each matching node.
2007-01-11 18:18:36 +00:00
pooka
a3d07fb3e9
implement fsync
2007-01-11 17:48:21 +00:00
pooka
b599bb507d
* do the l-variations of syscalls, since some nodes are symlinks
...
* truncate only regular files to set size
* do the chmod()-dance for cache flush to now write-protected files
until I can think of a nicer way to solve this
2007-01-11 14:59:35 +00:00
pooka
e639bec8c2
Add preliminary code for a nullfs layer, which can be used to mount
...
a directory hierarchy to another point, just like with the kernel
nullfs. This is not really a layering scheme yet, but it should
evolve into one. Currently it can just be used to do 1:1 mapping.
2007-01-11 01:01:55 +00:00
pooka
14b3edf81b
* don't chdir in possible daemon() call for the benefit of file systems
...
which specify a relative path as the root
* if (buildpath), build link source full pathname for the duration of
the operation
2007-01-10 23:02:50 +00:00
pooka
2811d45fdd
Be less shy about the default stack size, it's a only virtual memory space.
...
TODO: put a guard page at the end
2007-01-10 20:11:04 +00:00
pooka
71ddd8df08
rename name cache invalidation interface to be in sync with the
...
kernel operation names, i.e. contain "namecache" instead of just "name"
2007-01-09 18:19:01 +00:00
pooka
03a190dc22
lib interface for invalidation routines
2007-01-09 18:15:08 +00:00
elad
7e90974e98
Consistent license.
2007-01-09 14:04:44 +00:00
wiz
7bbb7f45b1
Bump date for previous.
2007-01-09 06:41:57 +00:00
rillig
c79f6cc521
chmod fails with EPERM when you try to set the S_ISGID bit on a file
...
whose group isn't one of your groups.
2007-01-09 04:03:57 +00:00
drochner
9c848e15d6
bring sched_yield() back which got lost recently
2007-01-08 20:54:42 +00:00
bouyer
6401b32154
libpam also depends on libkafs now, so .WAIT before building it.
2007-01-06 20:54:37 +00:00
pooka
7cc096d8ec
* get rid of the mount callback; it's no great surprise to the
...
server that it needs to mount the file system backend if it wants
to call mount
* provide some options for getmntopts(), assume that callers will parse
command line (or fstab) args
* reorganize the puffs_cc interface just a bit, preparing for a bigger
revamp later
2007-01-06 18:22:09 +00:00
wiz
b2fb822f2d
Re-add removed block:
...
Christian Biere suggests it was a typo, and was intended to describe
ENFILE; let it do that.
2007-01-04 00:02:43 +00:00
wiz
49a81ec436
Remove duplicate EMFILE description.
2007-01-03 23:02:53 +00:00
cbiere
8106cb099a
Fixed wrong and illogical statement:
...
fcntl() F_DUPFD does NOT set FD_CLOEXEC for the new file descriptor.
2007-01-03 11:50:47 +00:00
ws
0ff81292cd
Don't leak file descriptors.
2007-01-03 11:46:22 +00:00
pooka
f70a3c8c19
* inform kernel of our version
...
* homegrown lib ABI check (to avoid bumping major a ludicrillion times
before reaching stability)
2007-01-02 15:53:05 +00:00
martin
cc10b3e0c8
MD_DO_NOT_NEED_FALLTHRU - from Nick Hudson.
2007-01-02 14:32:34 +00:00
yamt
daa6d99693
kvm_getproc2: retry on ENOMEM.
...
it happens when the number of processes are changed in the mean time.
2006-12-31 16:20:18 +00:00
uebayasi
d8b460bb92
Whitespace.
2006-12-31 03:17:52 +00:00
yamt
5bb88600b0
remove nqnfs. pointed by Tom Spindler.
2006-12-29 22:56:55 +00:00
pooka
184a7d787c
checkpoint some experimental work-in-progress, namely:
...
Add support for having multiple outstanding operations. This is done
by exposing enough interfaces so that it is convenient to have the
main event loop in the implementation itself and by providing a
continuation framework for convinient blocking and rescheduling.
works fine, but will undergo further cleanup & development
2006-12-29 15:28:11 +00:00
martin
1c4ebce529
Provide a full frame stack space in the clone'd child.
2006-12-28 17:46:03 +00:00
martin
55a9a999dd
Use CCFSZ instead of 96 for standard save operations.
2006-12-28 10:02:43 +00:00
martin
f666b179b1
After discussing this further with uwe, rearange stack usage slightly and
...
replace a comment with words suggested by him.
2006-12-27 13:40:56 +00:00
martin
520e5c8f6a
When setting up the __clone()'s userland stack, make sure to allocate
...
an initial frame. Fixes PR 33075.
2006-12-25 21:44:37 +00:00
ad
ae979b2162
Add some items for 1:1 threads.
2006-12-25 11:36:36 +00:00
ad
ded2602507
Fix bugs with and improve upon previous.
2006-12-24 18:39:45 +00:00
christos
f1700f07c0
But turn on PTHREAD_SA, since turning it off does not work yet.
2006-12-24 03:54:43 +00:00
christos
34bc1fc940
just get this to compile again, so that people can build.
2006-12-24 03:47:53 +00:00
wiz
f77162e1ea
Fix typo.
2006-12-23 09:55:47 +00:00
wiz
1073e35f2d
Use more macros. Fix section in Xr.
2006-12-23 09:54:11 +00:00
ad
fe9718ac7c
Add another comment.
2006-12-23 09:48:18 +00:00
wiz
168147d486
Sort sections.
2006-12-23 09:04:23 +00:00
wiz
9e92895829
Sort errors; use Dv; s/=A0/ /
2006-12-23 08:09:31 +00:00
wiz
ee39be7187
Add missing article.
2006-12-23 07:42:30 +00:00
wiz
73188ad828
Quote - when used as minus; uppercase Dt argument; remove dot at end
...
of SEE ALSO; new sentence, new line.
2006-12-23 07:29:10 +00:00
wiz
57551caad9
Remove trailing whitespace.
2006-12-23 07:26:09 +00:00
ad
10058f19c8
Add a comment.
2006-12-23 05:18:56 +00:00
ad
1ac6a89b79
Conditionalised support for 1:1 threads. Needs associated kernel changes
...
and more work to be useful.
2006-12-23 05:14:46 +00:00
pooka
78ed4b8815
markup fixes
2006-12-22 11:56:45 +00:00
christos
af4b090320
From Anon Ymous:
...
- add __unused
- remove __GNUC__ hack
2006-12-20 16:47:13 +00:00
uwe
fd6ecc2112
Split "if (cond) stmt;" to be on separate lines.
2006-12-19 02:02:03 +00:00
christos
504a87e860
don't use 256 and 255, define and use a constant.
2006-12-18 22:27:18 +00:00
kleink
20a6bdbc6b
Update for tgetstr() null areas.
2006-12-18 13:27:25 +00:00
kleink
4d11183215
No need for static allocation of ptr, and make use of sizeof.
2006-12-18 13:13:20 +00:00
christos
a140872833
handle *area being NULL from kjk
2006-12-18 12:59:22 +00:00
christos
790ad13871
make tgetstr() work with a NULL area.
2006-12-18 06:15:56 +00:00
christos
cdcb070b9c
remove bogus (void)&var; From Anon Ymous
2006-12-18 00:40:14 +00:00
wiz
5021afa87b
Sort error descriptions.
2006-12-18 00:09:59 +00:00
wiz
77171fb3a0
Fix xref section. Whitespace cleanups..
2006-12-18 00:03:43 +00:00
christos
3a1928de28
add EL_GETFP, and EL_SETFP.
2006-12-15 22:13:33 +00:00
ad
11b0ba9c5d
pthread__debuglog_printf(): check for linebuf == NULL.
2006-12-14 20:40:57 +00:00
ad
24ae41f8f3
Set _IOLBF on stdout.
2006-12-14 20:39:04 +00:00
he
0a97c3f688
Complete the move of string_to_flags() and flags_to_string() from the
...
bin/ls sources to libutil:
o Bump libutil minor version number
o Fix uses to include <util.h> to pick up the function definitions
o Fix most uses of flags_to_string() to release the now-malloc()ed result
2006-12-14 20:09:35 +00:00
christos
33d6b113f2
moved string_to_flags and flags_to_string from ls to libutil.
2006-12-14 19:18:01 +00:00
alc
1a0e3f4a48
CID4360: don't leak `buf' upon return
...
ok pooka@
2006-12-14 18:15:59 +00:00
tnozaki
c61eef3da4
make del(\x7f) pass through.
2006-12-13 16:16:56 +00:00
martin
2ed5a47025
Pull over rev. 1.5 of the i386 version (../../i386/resumecontext.S),
...
quoting Matthias Drochner:
> -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.
This fixes regress/lib/libc/context for m68k.
Thanks to Steve Woodford for optimization hints.
2006-12-13 10:48:02 +00:00
christos
a4b90d57e2
Add emalloc.
2006-12-11 00:55:02 +00:00
manu
e7390e9b83
Bump libipsec minor
2006-12-10 18:47:15 +00:00
dyoung
a26b3af0e0
Render the format %% as %.
2006-12-09 20:18:43 +00:00
martin
e56cdf1dd0
Sync all resumecontext.c versions with the changes originally made
...
by Matthias Drochner to i386 and alpha:
-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-12-08 16:09:02 +00:00
mjf
c31a06a820
Update to reflect recent changes to confstr(3).
2006-12-08 15:57:07 +00:00
martin
2cb7656bf1
Pull over rev. 1.5 of the i386 version (../../i386/resumecontext.S),
...
quoting Matthias Drochner:
> -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.
This also fixes regress/lib/libc/context for sparc64.
2006-12-08 15:51:45 +00:00
pooka
49df5bfc7b
outline & export code for interfacing with kernel GET/PUT requests
2006-12-07 23:15:20 +00:00
pooka
24fb4d5d8c
g/c out-of-date comment
2006-12-07 17:39:54 +00:00
pooka
43d8340ec6
support mmap
2006-12-07 16:59:14 +00:00
pooka
79fa3dd2c2
cleanup generated stuff from comments
2006-12-07 16:13:51 +00:00
pooka
55544f739a
rototill the operation callbacks: unify the ops under struct puffs_ops
...
and namespace them
2006-12-07 10:53:21 +00:00
pooka
a0eb335104
adapt to kernel change:
...
Allow multiple requests to be transferred in each GET/PUTOP
2006-12-05 23:04:21 +00:00
kleink
b290748021
Restore i18n wrapping removed in previous.
2006-12-04 17:24:40 +00:00
pavel
edab74570a
Move the description of sysctl MIBs from sysctl.3 to a new manual page
...
sysctl.7. Remove the list of MIBs from sysctl.8 so we don't have to
maintain duplicate information, as proposed by YAMAMOTO Takashi on
tech-userlevel. Also remove references to header files from sysctl.8.
The numeric constants remain documented, they are still needed in some
cases. See the discussion on tech-userlevel. ("mib list in sysctl.8")
OK by YAMAMOTO Takashi.
2006-12-04 08:59:13 +00:00
christos
8b3eb79f93
PR/35170: Guy Harris: confstr() should return 0, not -1, on errors
2006-12-03 00:39:19 +00:00
christos
47fd231e41
ansi, minor knf, no functional change.
2006-12-01 18:57:29 +00:00
pooka
b98361ea36
sauce catchup
2006-12-01 15:31:25 +00:00
pooka
0d5746a9ac
PUFFSFLAG -> PUFFS_FLAG to be consistent with the kernel
2006-12-01 12:50:06 +00:00
pooka
465f49d71b
build & send implemented operations list to kernel
2006-12-01 12:38:11 +00:00
pooka
d4280e60eb
update with reality
2006-11-30 05:53:34 +00:00
pooka
c145fb5a17
summon daemon(3) in mainloop unless the nodaemon flag is given
2006-11-30 05:37:48 +00:00
elad
174436830e
Adapt to recent Veriexec sysctl(9) changes.
2006-11-27 17:55:12 +00:00
christos
52e2f11be9
PR/35129: David A. Holland: exit in utmpx code should be _exit
2006-11-26 17:33:23 +00:00
elad
8e60b8367c
PR/34984: Denis Lagno: minor problems with tsearch.3
2006-11-26 13:10:54 +00:00
elad
020be40ef1
strncpy -> strlcpy. from David Holland.
2006-11-25 23:09:11 +00:00
christos
df031f1edc
PR/34837: Mindaguas: Add SysV SHM dynamic reallocation and locking to the
...
physical memory
2006-11-25 21:40:04 +00:00
freza
782d524f80
Constify prtab() argument, fixes MKDEBUGLIB build.
2006-11-25 17:55:48 +00:00
freza
37b5672028
s/el->errfile/el->el_errfile/g in debug code, fixes MKDEBUGLIB build.
2006-11-25 17:54:38 +00:00
christos
c0179c282a
spell precede; from Zafer
2006-11-25 16:48:31 +00:00
wiz
6919c6578c
s/independant/independent/, from Zafer.
2006-11-24 22:04:21 +00:00
wiz
4b19648772
s/greatful/grateful/, from Zafer.
2006-11-24 21:15:54 +00:00
christos
1665d5e960
fix spelling of accommodate; from Zapher.
2006-11-24 19:46:58 +00:00
christos
3d98aa3f4b
fix spelling of accidentally; from Zapher
2006-11-24 19:37:02 +00:00
tnozaki
3fb79e8260
don't read input string more than MB_LEN_MAX(maybe redundant escape sequence).
2006-11-24 17:27:52 +00:00
reed
f8ee2d04c1
Document AI_NUMERICSERV.
...
(When manpage was rewritten some docs were lost.)
2006-11-24 16:56:18 +00:00
tnozaki
663e0dad61
don't throw EILSEQ when byte sequence is "zW ".
2006-11-24 16:52:20 +00:00
christos
3bf701820f
bump minor.
2006-11-24 00:03:06 +00:00
christos
6b8a793080
- Add more readline functions, enough for gdb-6.5
...
- Make el_get varyadic, and implement EL_GETTC.
- XXX: the EL_SETTC api will change in the future.
2006-11-24 00:01:17 +00:00
pooka
c9aa28f463
* document open, close and access
...
* nomenclature improvements
2006-11-23 17:45:11 +00:00
elad
3dc874e6b2
Add note about Segvguard interface/implementation being experimental and
...
with the potential to change in future releases.
2006-11-23 17:24:36 +00:00
pooka
4b5bf45935
const coherence
2006-11-23 16:44:28 +00:00
tnozaki
068d17c461
c99 istyle initializer, pointed by uebayasi-san. thanks a lot!
2006-11-23 13:59:03 +00:00
tnozaki
c8ab6b2b31
add missing rcsid.
2006-11-22 23:47:21 +00:00
tnozaki
45e156694b
oops, forgot to remove unused enum.
2006-11-22 23:44:17 +00:00
tnozaki
8033a5b008
1. add iconv support for following encodings:
...
Chinese Simplefied
HZ, HZ8 - 7/8bit stateful encoding, see RFC1842,1843. (libHZ)
zW - 7bit stateful encoding, see RFC1842. (libZW)
2. add citrus_prop.[ch] - parser for encoding module's init parameter strings.
2006-11-22 23:38:25 +00:00
tnozaki
5bda830543
fix memory leak.
2006-11-22 20:11:03 +00:00
christos
4ca73ce810
Don't expose _ss functions for 4.0. Requested by core.
2006-11-22 17:23:24 +00:00
elad
a84fee7faf
Initial implementation of PaX Segvguard (this is still work-in-progress,
...
it's just to get it out of my local tree).
2006-11-22 02:02:51 +00:00
pooka
194d17d824
mode_t to enum vtype conversion
2006-11-21 23:11:09 +00:00
christos
61261c8531
rename getdate to parsedate to avoid conflict with posix function
2006-11-20 20:33:02 +00:00
wiz
30ef64a953
Some mdoc and grammar nits.
2006-11-19 00:11:21 +00:00
pooka
d69d91cf3e
* call statvfs() at mount() time, pass that info along
...
* start is gone
2006-11-18 12:40:35 +00:00
rillig
121d2aa3a7
Added EINTR and sorted the error names alphabetically.
2006-11-17 23:59:33 +00:00
christos
a5486efb24
constify
2006-11-17 22:44:16 +00:00
christos
ba26b607a4
add getdate.
2006-11-17 22:10:23 +00:00
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