Commit Graph

1092 Commits

Author SHA1 Message Date
dholland 377b231974 Fix grammar. Noted by Taylor R Campbell in PR 39369. 2008-08-17 09:40:59 +00:00
wiz b9a5e63c26 Bump date for previous.
Sort ERRORS, and merge two entries for the same errno value.
2008-08-14 18:00:08 +00:00
matt 8165c33c80 Implement following constants and add support their to the UFS family of file
systems:
	_PC_2_SYMLINKS
	_PC_SYMLINK_MAX

From andy dot shevchenko at gmail dot com.
2008-08-14 16:19:25 +00:00
matt f0a4a8908c Add a missing dependency 2008-08-06 16:22:48 +00:00
lukem c15f2bdde0 Revert previous addition of '-e sedcmd'. Still retain the usage improvements. 2008-08-05 02:08:13 +00:00
lukem 0cc7d83887 Redo previous in a much simpler way.
Inspired by and fixes PR 39285.
2008-08-05 02:06:53 +00:00
lukem d3eb13d073 Add '-e sedcmd' to makelintstub, to translate filename to syscall name.
Improve usage, etc.

Invoke makelintstub with -e 's/^tmp_//' when building LintSysNormal.c

Fixes build problem that matt@ highlighted to me.
2008-08-05 01:54:47 +00:00
lukem 29e7a5c114 Prefix filenames of tomporarily generated .S files with "tmp_", so that the
".if exists(foo.S)" check doesn't get confused by ${.OBJDIR}/foo.S.
Fixes PR/39217
2008-08-04 00:53:51 +00:00
dholland d3dda4ea44 Clarify one of the process-group-ID cases by saying "process group ID"
instead of just "group ID". This was sitting in my tree and I forget
the exact genesis - I think it came up in chat a couple months ago.
2008-07-13 15:16:26 +00:00
rmind 2a94bd63c1 Move scheduling functions from librt to libc.
Fixes PR/38657.
2008-07-02 20:05:16 +00:00
ad 5c6eb305b3 Fix MLINKS line 2008-06-25 11:19:28 +00:00
ad 5f64faa3a9 Add getlogin_r. Manual page changes mostly lifted from FreeBSD. 2008-06-25 11:10:24 +00:00
christos f498c90335 PR/38942: Pedro F. Giffuni: Mention that utimes now supports setting of
the birthtime. Text from FreeBSD.
2008-06-17 17:46:40 +00:00
christos 2d6c1e93d9 Glue in cpuset.c 2008-06-15 20:36:52 +00:00
mrg c2b95373bf remove clause #3 from my license where there are no other
copyright holders involved.
2008-05-29 14:51:25 +00:00
wiz e430b722ea New sentence, new line. 2008-05-25 20:13:47 +00:00
wiz 62954cc42a Sort sections. Sort ERRORS. Prepare for HTML output. 2008-05-25 20:13:14 +00:00
christos 7f928c07fa add more errors from gleaning the source. 2008-05-09 15:52:50 +00:00
njoly 24cbc2830b - Make semctl SETVAL/SETALL commands validate the semaphore value to
be set, which needs to be in the range [0,SEMVMX].
- Adjust the man page.
2008-05-06 20:25:09 +00:00
yamt ad1e9536e6 document LWPCTL_FEATURE_PCTR. 2008-05-05 05:04:06 +00:00
martin a71552e354 Move to 2 clasue license 2008-05-02 18:38:32 +00:00
martin cd22f25e6f Move TNF licenses to 2 clause form 2008-05-02 18:11:04 +00:00
martin 11a6dbe728 Convert TNF licenses to new 2 clause variant 2008-04-30 13:10:46 +00:00
scw d05f8e9263 - Document RAS_START_ASM, RAS_END_ASM, RAS_START_ASM_HIDDEN, and
RAS_END_ASM_HIDDEN.
- Advise against implementing RASs in C.

See PR lib/38482 for details.

While here, remove clauses 3 and 4 from TNF license.
2008-04-29 21:06:28 +00:00
martin ce099b4099 Remove clause 3 and 4 from TNF licenses 2008-04-28 20:22:51 +00:00
rmind 4000aba309 Add posix_madvise(2) and appropriate definitions in sys/mman.h header.
This interface is identical to madvise(2), however, is defined by POSIX.
Partially sync madvise(2) man page with FreeBSD.

Reviewed by <mrg>.
2008-04-22 10:42:16 +00:00
wiz 636a4f58a9 Describe how to portable extend a file. From joerg. Bump date. 2008-03-16 11:33:40 +00:00
wiz 388f16d85b Move previously added sentence to STANDARDS section, as suggested by yamt. 2008-03-10 12:25:55 +00:00
wiz 4111fbb94d Mention that extending files with truncate is a POSIX extension.
Requested by joerg.

Bump date.
2008-03-10 11:47:28 +00:00
christos 972b0b15b4 doecument that we now can return eagain. 2008-02-24 21:55:45 +00:00
sborrill b701bbf89d Fix tiny typo 2008-02-23 17:53:23 +00:00
tnn 26fe2af07d minor pedanticism about glibc. Suggested by Joerg. 2008-02-16 17:45:39 +00:00
tnn c4bfcd4e81 Add a history section and a compatibility section. 2008-02-14 18:08:35 +00:00
rillig e477e0fd7c I tried to add a partition to the swap space that wasn't marked as swap
partition, and I got ENXIO. Since the existing description didn't apply
to this case, I added another.
2008-02-13 11:10:31 +00:00
rillig ae9e303fcf Aligned the text of ENXIO with the one in gen/errlist.c. 2008-02-13 10:48:18 +00:00
drochner 58cba952a0 remove a stale __weak_alias (code went into the compat section) 2008-02-12 19:36:06 +00:00
dholland 3ad5f9069e Document the behavior of dup2 when oldfd == newfd: nothing happens.
Suggested by the patches in PR bin/36551 from Greg A. Woods.
2008-02-09 04:58:30 +00:00
mrg d638eaddc1 m68k/Makefile.inc:
- add __mmap.S to SRCS.
- add _lwp_getprivate.S mremap.S to ASM.
sys/Makefile.inc:
- look for __glue.S as well as glue.S.
- introduce a new ASM_MD and set it to "_lwp_getprivate.S mremap.S".
  this is used for assembler files that may have non-default
  implementations.

now m68k and m68000 mostly build again.
2008-02-09 02:41:06 +00:00
martin 29ef53c683 libc part of posix_fadvise changes.
The new compatibility stub is ABI compatible to the old syscall, so no
need to bump libc minor.
2008-01-27 16:18:22 +00:00
ad bbc79e58a6 Pull in my modules code for review/test/hacking. 2008-01-16 12:34:50 +00:00
rmind 5c71a4d49f Implementation of processor-sets, affinity and POSIX real-time extensions.
Add schedctl(8) - a program to control scheduling of processes and threads.

Notes:
- This is supported only by SCHED_M2;
- Migration of LWP mechanism will be revisited;

Proposed on: <tech-kern>. Reviewed by: <ad>.
2008-01-15 03:37:10 +00:00
lukem 433c095cb8 Add references to various protocol pages that support setsockopt(2).
Makes it much easier to find them.
2007-12-16 09:49:28 +00:00
yamt 5107db92df document following system calls.
_lwp_ctl
	_lwp_getname
	_lwp_setname
2007-12-14 21:52:17 +00:00
rillig d59ceee59e ENOENT is also returned when the script interpreter does not exist. 2007-12-02 10:26:27 +00:00
rillig b54c9d13a0 typo 2007-11-30 23:01:03 +00:00
dsl d8e8042c1c Add a note about the difficulty of actually looking at the return value
of __syscall() caused by ABIs (eg sparc) that don't pass the low bits of
a 64 bit result in the same register as a 32 bit result.
2007-11-23 20:29:40 +00:00
uebayasi 2b37ebddcf KNF; no variable name in function prototype. 2007-11-23 12:39:15 +00:00
dsl b0b7248d92 Change all the syscall C 'glue' functions (most of which just add in an
extra argument to ensure that 'off_t' parameters are even numbered
parameters for stack alignment reasons on 32 bit systems) to use a normal
'syscall' wrapper for __foo instead of using __syscall(SYS_foo, ... ).
This saves all the faffing needed to get a 32bit return value on sparc.
Auto-generate the extra syscall wrappers.
Move swapon.c into the correct list (swapon() uses swapctl()).
This probably means there are very few users of syscall() and __syscall() left.
2007-11-22 21:11:30 +00:00
ad ec4d182d4a - stack_protector.c doesn't really belong under sys/. Add a new directory
for misc support routines and put it there.
- Add a libc constructor. Use this to initialize threading and the
  stack protector stuff. libpthread cannot be initialized safely using
  its own constructor because libc and libpthread are deeply intertwined.
  PR bin/37347
2007-11-13 15:21:19 +00:00
he 3b9b3c5341 We now need <sys/lwpctl.h> included in order to lint LintSysNormal.c. 2007-11-13 09:07:33 +00:00