christos
4251f87df7
PR/51958: Ngie Cooper: ESRCH error description in hcreate(3) contains typo
...
for action
2017-02-07 22:25:25 +00:00
kamil
5acf460d25
Mark exect(3) obsolete and bind it to plain execve(2) on all platforms
...
The original exect(2) from BSD4.2 was enabling bit for tracing
(single-step mode) and calling execve(2). The purpose of it was to generate
a signal for a tracer once the application will change its image to a new
program.
This approach no longer works as:
- exect(2) traces (single-steps) libc and it requires hundreds or
thousands steps before entering a new image
- it's vax and x86 specific code
- this functionality has been moved to the kernel - once a process is
traced it will generate SIGTRAP with si_code TRAP_EXEC and route it to
its debugger
- the side effects and unportability make this interface unusable
- there are no known users of this interface
- it apparently never worked better since day0 of NetBSD ("day0 bug")
Users are requested to move to other execve(2) variants. Calling current
execve(2) as it is the most similar behavior to this one from BSD4.2.
Discussed several times on mailing lists and in PR/51700.
Add warning to exect(3) telling about marking this function obsolete.
This function is prepared to be removed in next libc major bump.
Sponsored by <The NetBSD Foundation>
2017-02-07 19:29:39 +00:00
kamil
c58abbea19
Document in libc's shlib_version request for exect(3) removal
...
This functionality has been moved long time to the kernel. Kernel exec()
emits SIGTRAP under a debugger (unless PT_SYSCALL traced).
2017-02-07 15:33:25 +00:00
abhinav
6b1f1a07e7
Add posix_madvise(2) in the NAME section.
2017-02-03 21:10:22 +00:00
abhinav
0d379b321a
Insert comma between two Nm entries.
...
Remove Pp before Bd
2017-02-03 21:03:05 +00:00
abhinav
b566e9d11b
Remove comma after the last Nm entry.
2017-02-03 08:14:58 +00:00
njoly
cada2c18c7
Fix a typo : pthread_mutexaddr_init -> pthread_mutexattr_init.
2017-02-02 10:48:22 +00:00
abhinav
60763e809a
Add comma between two Nm entries in the NAME section.
2017-02-01 16:06:19 +00:00
abhinav
d2174aa7ea
Add modff and modfl in the NAME section.
2017-02-01 15:57:47 +00:00
abhinav
11aef024b5
Fix a sentence.
...
Correct function name in the DESCRIPTION section.
2017-02-01 15:49:02 +00:00
abhinav
5f9e091f8e
Also, fix spelling of described.
2017-02-01 14:51:29 +00:00
abhinav
6cef231ea2
Fix sentence.
2017-02-01 14:46:51 +00:00
abhinav
b59ab9a645
Remove comma after last Nm entry.
2017-02-01 14:42:28 +00:00
abhinav
53327cbb3e
Remove comma after the last Nm entry.
2017-02-01 14:37:20 +00:00
sevan
cc576e1d8e
Update supporting files for components which rely on autoconf to allow systems
...
introducing since release of software to be recognised. This should hopefully
allow the builds to progress a littles further on systems such as the POWER8
which features a little endian 64-bit PowerPC CPU identified as ppc64le.
2017-02-01 09:26:39 +00:00
roy
8dcd50a6a0
Move ESCDELAY to curses.c so all globals are close to each other.
...
Remove _reentrant and use ESCDELAY and TABSIZE as we're not really
reentrant.
2017-01-31 09:17:53 +00:00
roy
3c94ec04f2
Just return ERR instead of asserting if someone calls the slk routines
...
to affect the ripped off window before the window is actually ripped off.
2017-01-30 17:15:52 +00:00
roy
7487819a0b
Check _cursesi_term is set in a few places and sprinkle some static.
2017-01-30 16:50:44 +00:00
roy
64b2ce979c
If either set_escdelay(3) or set_tabsize(3) are called, set _reentrant
...
to ensure we use the saved value for the sceen.
This effectively makes ESCDELAY and TABSIZE read-only when either
of these functions are called.
2017-01-30 14:55:58 +00:00
abhinav
c8b491e821
Fix a typo.
2017-01-29 16:52:38 +00:00
snj
e6059b4b0a
new lookup order will be in 7.1 before 8.0
2017-01-29 05:13:55 +00:00
wiz
bb66c0074f
Spelling fixes.
2017-01-27 12:52:39 +00:00
kamil
231f136ce0
Make the PIOD_READ_AUXV operation more clear
...
Describe how to set piod_offs.
Sponsored by <The NetBSD Foundation>
2017-01-25 17:12:56 +00:00
roy
2ebbf64e54
Document baudrate(3).
2017-01-25 12:42:05 +00:00
roy
1899e6576b
And more functions ....
2017-01-25 12:21:18 +00:00
roy
9ab26a1db5
Note the substantial work by others on the curses library.
2017-01-25 12:05:26 +00:00
roy
cb39f3d94a
Document recently added functions in curses.3
2017-01-25 12:00:57 +00:00
roy
de49f4c9e2
Reference curses_slk(3).
2017-01-25 11:44:55 +00:00
roy
a2ac1ce48c
Implement POSIX Curses Soft Label Key functions.
2017-01-24 17:27:30 +00:00
roy
9d818e01f4
Note an issue with our cursor movement in 1 line size window.
2017-01-24 16:45:41 +00:00
maya
c7ed247615
add a wishlist for a major bump. isinff and compatibility cabs.
2017-01-20 22:10:38 +00:00
kamil
c2ffce666f
Fix one markup issue and add initial HISTORY section
...
Import HISTORY notes from FreeBSD.
Sponsored by <The NetBSD Foundation>
2017-01-15 22:18:11 +00:00
christos
1ecca95a27
fix *syslog_ss*
2017-01-15 16:41:39 +00:00
christos
213f09a410
don't include machine/param.h <sys/param.h> already does WTF?
2017-01-14 22:19:29 +00:00
christos
9d493e3dc8
remove useless include; asm.h is not useful for c files. our current assumption
...
is that stuff in cdefs.h is duplicated in asm.h.
2017-01-14 15:50:24 +00:00
wiz
13cf5641ee
Wording, macro use.
2017-01-14 14:33:18 +00:00
kamil
c2476a0996
Document PTRACE_LWP_CREATE and PTRACE_LWP_EXIT in ptrace(2)
...
Sponsored by <The NetBSD Foundation>
2017-01-14 07:17:38 +00:00
kamil
4e100202af
Document PTRACE_VFORK and PTRACE_VFORK_DONE in ptrace(2)
...
PTRACE_VFORK - report vfork(2)-like operations and trace child
PTRACE_VFORK_DONE - report unblocking the parent after vfork(2)-like call
Note that PTRACE_VFORK is currently unimplemented and returns ENOTSUP.
Sponsored by <The NetBSD Foundation>
2017-01-14 00:02:40 +00:00
christos
4afb65f9d5
fix compilation
2017-01-13 18:18:20 +00:00
christos
025af9a44f
allow overriding snprintf/vsnprintf
2017-01-13 14:41:27 +00:00
christos
794a9d5044
use getpagesize(3).
2017-01-13 04:18:54 +00:00
maya
68f994d51e
replace old style function declaration
2017-01-12 19:02:22 +00:00
christos
585a07d820
Don't go redefining system constants, without checking if the system provides
...
them.
2017-01-12 18:23:04 +00:00
christos
e9f6168b19
undo SSP damage from -Wsystem-headers
2017-01-12 18:16:52 +00:00
roy
5952c1b776
Use the screen argument, not _cursesi_screen.
2017-01-12 16:23:46 +00:00
roy
ca57f21848
Correct terminfo variable pkey_norm to plab_norm.
2017-01-12 13:53:11 +00:00
christos
8212adb6e3
Avoid sysconf: __sysconf -> sysctlgetmibinfo -> strtoimax -> locale, etc.
2017-01-12 02:00:42 +00:00
christos
9cc0be316b
A little more restructuring so that we don't need mutex stuff in syslog_ss.
2017-01-12 01:58:39 +00:00
christos
227c2c0795
make this smaller.
2017-01-12 01:02:09 +00:00
christos
b722e4222b
put back strerror_ss, it will be used shortly.
2017-01-12 00:43:55 +00:00