CVS log for src/include/limits.h
Up to [cvs.NetBSD.org] / src / include
Request diff between arbitrary revisions
Keyword substitution: kv
Default branch: MAIN
Revision 1.43.2.2: download - view: text, markup, annotated - select for diffs
Fri Oct 11 17:26:32 2024 UTC (7 weeks, 4 days ago) by martin
Branches: netbsd-10
Diff to: previous 1.43.2.1: preferred, colored; branchpoint 1.43: preferred, colored; next MAIN 1.44: preferred, colored
Changes since revision 1.43.2.1: +8 -20
lines
Pull up following revision(s) (requested by riastradh in ticket #945):
include/limits.h: revision 1.45
limits.h: Define PTHREAD_STACK_MIN and tidy up comments.
Define this to be 4096, which is (as far as I can tell) the smallest
possible page size on any architecture NetBSD supports. This should
be MIN_PAGE_SIZE instead, but I don't think that is exposed in any
way that doesn't badly pollute the namespace. We should maybe have a
__MIN_PAGE_SIZE defined in some header file exposed to userland.
Of course, applications actually need to allocate at least
sysconf(_SC_THREAD_STACK_MIN) = getpagesize() bytes, which may be
larger than PTHREAD_STACK_MIN.
The various feature flags (dates) like _POSIX_THREAD_ATTR_STACKADDR
are defined (or not defined) by unistd.h, not by limits.h, so there's
no value in mentioning them here -- and the comment is wrong about
most of them (we have implemented _POSIX_THREAD_ATTR_STACKADDR, for
example).
PR standards/45435: PTHREAD_KEYS_MAX et al. missing in <limits.h>
Revision 1.43.2.1: download - view: text, markup, annotated - select for diffs
Wed Oct 9 13:12:40 2024 UTC (7 weeks, 6 days ago) by martin
Branches: netbsd-10
Diff to: previous 1.43: preferred, colored
Changes since revision 1.43: +9 -5
lines
Pull up following revision(s) (requested by riastradh in ticket #938):
lib/libc/gen/getentropy.3: revision 1.7
include/limits.h: revision 1.44
include/unistd.h: revision 1.167
getentropy(3): Make this visible to POSIX.1-2024 applications.
Likewise GETENTROPY_MAX.
It is now part of POSIX:
https://pubs.opengroup.org/onlinepubs/9799919799.2024edition/functions/getentropy.html
Cite standard in man page too. While here, use `.Nm' rather than
`.Fn getentropy' for self-reference in the man page, for consistency
with other usage.
PR standards/58603: getentropy(3): update visibility and documentation
for POSIX.1-2024
Revision 1.45: download - view: text, markup, annotated - select for diffs
Mon Sep 9 12:01:01 2024 UTC (2 months, 3 weeks ago) by riastradh
Branches: MAIN
CVS tags: HEAD
Diff to: previous 1.44: preferred, colored
Changes since revision 1.44: +8 -20
lines
limits.h: Define PTHREAD_STACK_MIN and tidy up comments.
Define this to be 4096, which is (as far as I can tell) the smallest
possible page size on any architecture NetBSD supports. This should
be MIN_PAGE_SIZE instead, but I don't think that is exposed in any
way that doesn't badly pollute the namespace. We should maybe have a
__MIN_PAGE_SIZE defined in some header file exposed to userland.
Of course, applications actually need to allocate at least
sysconf(_SC_THREAD_STACK_MIN) = getpagesize() bytes, which may be
larger than PTHREAD_STACK_MIN.
The various feature flags (dates) like _POSIX_THREAD_ATTR_STACKADDR
are defined (or not defined) by unistd.h, not by limits.h, so there's
no value in mentioning them here -- and the comment is wrong about
most of them (we have implemented _POSIX_THREAD_ATTR_STACKADDR, for
example).
PR standards/45435: PTHREAD_KEYS_MAX et al. missing in <limits.h>
Revision 1.44: download - view: text, markup, annotated - select for diffs
Thu Aug 15 23:44:49 2024 UTC (3 months, 2 weeks ago) by riastradh
Branches: MAIN
Diff to: previous 1.43: preferred, colored
Changes since revision 1.43: +9 -5
lines
getentropy(3): Make this visible to POSIX.1-2024 applications.
Likewise GETENTROPY_MAX.
It is now part of POSIX:
https://pubs.opengroup.org/onlinepubs/9799919799.2024edition/functions/getentropy.html
Cite standard in man page too. While here, use `.Nm' rather than
`.Fn getentropy' for self-reference in the man page, for consistency
with other usage.
PR standards/58603: getentropy(3): update visibility and documentation
for POSIX.1-2024
Revision 1.43: download - view: text, markup, annotated - select for diffs
Tue May 31 13:42:59 2022 UTC (2 years, 6 months ago) by riastradh
Branches: MAIN
CVS tags: perseant-exfatfs-base-20240630,
perseant-exfatfs-base,
perseant-exfatfs,
netbsd-10-base,
netbsd-10-0-RELEASE,
netbsd-10-0-RC6,
netbsd-10-0-RC5,
netbsd-10-0-RC4,
netbsd-10-0-RC3,
netbsd-10-0-RC2,
netbsd-10-0-RC1
Branch point for: netbsd-10
Diff to: previous 1.42: preferred, colored
Changes since revision 1.42: +5 -1
lines
libc: Reintroduce getentropy.
This was introduced two years ago when the getrandom/getentropy API
question was still open, and removed because the discussion was
ongoing. Now getentropy is more widely adopted and soon to be in
POSIX. So reintroduce the symbol into libc since we'll be keeping it
anyway. Discussion of details of the semantics, as interpreted by
NetBSD, is ongoing, but the symbol needs to get in before the
netbsd-10 branch. The draft POSIX text is
(https://www.opengroup.org/austin/docs/austin_1110.pdf):
SYNOPSIS
#include <unistd.h>
int getentropy(void *buffer, size_t length);
DESCRIPTION
The getentropy() function shall write length bytes of data
starting at the location pointed to by buffer. The output
shall be unpredictable high quality random data, generated by
a cryptographically secure pseudo-random number
generator. The maximum permitted value for the length
argument is given by the {GETENTROPY_MAX} symbolic constant
defined in <limits.h>.
RETURN VALUES
Upon successful completion, getentropy() shall return 0;
otherwise, -1 shall be retunred and errno set to indicate the
error.
ERRORS
The getentropy() function shall fail if:
[EINVAL] The value of length is greater than
{GETENTROPY_MAX}.
The getentropy() function may fail if:
[ENOSYS] The system does not provide the necessary
source of entropy.
RATIONALE
The getentropy() function is not a cancellation point.
Minor changes from the previous introduction of getentropy into libc:
- Return EINVAL, not EIO, on buflen > 256.
- Define GETENTROPY_MAX in limits.h.
The declaration of getentropy in unistd.h and definition of
GETENTROPY_MAX in limits.h are currently conditional on
_NETBSD_SOURCE. When the next revision of POSIX is finalized, we can
expose them also under _POSIX_C_SOURCE > 20yymmL as usual -- and this
can be done as a pullup without breaking existing compiled programs.
Revision 1.40.14.1: download - view: text, markup, annotated - select for diffs
Mon Apr 13 08:03:08 2020 UTC (4 years, 7 months ago) by martin
Branches: phil-wifi
Diff to: previous 1.40: preferred, colored; next MAIN 1.41: preferred, colored
Changes since revision 1.40: +1 -10
lines
Mostly merge changes from HEAD upto 20200411
Revision 1.42: download - view: text, markup, annotated - select for diffs
Sun Sep 15 23:52:59 2019 UTC (5 years, 2 months ago) by christos
Branches: MAIN
CVS tags: phil-wifi-20200421,
phil-wifi-20200411,
phil-wifi-20200406,
phil-wifi-20191119,
is-mlppp-base,
is-mlppp,
cjep_sun2x-base1,
cjep_sun2x-base,
cjep_sun2x,
cjep_staticlib_x-base1,
cjep_staticlib_x-base,
cjep_staticlib_x
Diff to: previous 1.41: preferred, colored
Changes since revision 1.41: +1 -7
lines
remove comment for incomplete x/open impl (kamil)
Revision 1.41: download - view: text, markup, annotated - select for diffs
Sun Sep 15 23:41:00 2019 UTC (5 years, 2 months ago) by christos
Branches: MAIN
Diff to: previous 1.40: preferred, colored
Changes since revision 1.40: +1 -4
lines
Remove the _INCOMPLETE_XOPEN_C063 stuff.
Revision 1.38.2.2: download - view: text, markup, annotated - select for diffs
Sat Aug 6 00:19:02 2016 UTC (8 years, 4 months ago) by pgoyette
Branches: pgoyette-localcount
Diff to: previous 1.38.2.1: preferred, colored; branchpoint 1.38: preferred, colored; next MAIN 1.39: preferred, colored
Changes since revision 1.38.2.1: +3 -1
lines
Sync with HEAD
Revision 1.40: download - view: text, markup, annotated - select for diffs
Thu Aug 4 06:43:43 2016 UTC (8 years, 4 months ago) by christos
Branches: MAIN
CVS tags: prg-localcount2-base3,
prg-localcount2-base2,
prg-localcount2-base1,
prg-localcount2-base,
prg-localcount2,
phil-wifi-base,
phil-wifi-20190609,
pgoyette-localcount-20170426,
pgoyette-localcount-20170320,
pgoyette-localcount-20170107,
pgoyette-localcount-20161104,
pgoyette-localcount-20160806,
pgoyette-compat-merge-20190127,
pgoyette-compat-base,
pgoyette-compat-20190127,
pgoyette-compat-20190118,
pgoyette-compat-1226,
pgoyette-compat-1126,
pgoyette-compat-1020,
pgoyette-compat-0930,
pgoyette-compat-0906,
pgoyette-compat-0728,
pgoyette-compat-0625,
pgoyette-compat-0521,
pgoyette-compat-0502,
pgoyette-compat-0422,
pgoyette-compat-0415,
pgoyette-compat-0407,
pgoyette-compat-0330,
pgoyette-compat-0322,
pgoyette-compat-0315,
pgoyette-compat,
perseant-stdc-iso10646-base,
perseant-stdc-iso10646,
netbsd-9-base,
netbsd-9-4-RELEASE,
netbsd-9-3-RELEASE,
netbsd-9-2-RELEASE,
netbsd-9-1-RELEASE,
netbsd-9-0-RELEASE,
netbsd-9-0-RC2,
netbsd-9-0-RC1,
netbsd-9,
netbsd-8-base,
netbsd-8-3-RELEASE,
netbsd-8-2-RELEASE,
netbsd-8-1-RELEASE,
netbsd-8-1-RC1,
netbsd-8-0-RELEASE,
netbsd-8-0-RC2,
netbsd-8-0-RC1,
netbsd-8,
matt-nb8-mediatek-base,
matt-nb8-mediatek,
localcount-20160914,
bouyer-socketcan-base1,
bouyer-socketcan-base,
bouyer-socketcan
Branch point for: phil-wifi
Diff to: previous 1.39: preferred, colored
Changes since revision 1.39: +3 -1
lines
Realtime signal support from GSoC 2016, Charles Cui.
Revision 1.38.2.1: download - view: text, markup, annotated - select for diffs
Tue Jul 26 03:24:15 2016 UTC (8 years, 4 months ago) by pgoyette
Branches: pgoyette-localcount
Diff to: previous 1.38: preferred, colored
Changes since revision 1.38: +1 -3
lines
Sync with HEAD
Revision 1.39: download - view: text, markup, annotated - select for diffs
Thu Jul 21 16:01:58 2016 UTC (8 years, 4 months ago) by njoly
Branches: MAIN
CVS tags: pgoyette-localcount-20160726
Diff to: previous 1.38: preferred, colored
Changes since revision 1.38: +1 -3
lines
According to Opengroup online specifications[1], _POSIX_CPUTIME and
_POSIX_THREAD_CPUTIME options should be present in unistd.h not
limits.h. Move them with other options.
[1] http://pubs.opengroup.org/onlinepubs/9699919799/basedefs/unistd.h.html
Revision 1.38: download - view: text, markup, annotated - select for diffs
Fri Jun 10 23:29:20 2016 UTC (8 years, 5 months ago) by christos
Branches: MAIN
CVS tags: pgoyette-localcount-base
Branch point for: pgoyette-localcount
Diff to: previous 1.37: preferred, colored
Changes since revision 1.37: +4 -1
lines
GSoC 2016: Charles Cui: Add timer related macros
_POSIX_CPUTIME
_POSIX_THREAD_CPUTIME
_POSIX_DELAYTIMER_MAX
Revision 1.37: download - view: text, markup, annotated - select for diffs
Fri Jun 10 23:24:33 2016 UTC (8 years, 5 months ago) by christos
Branches: MAIN
Diff to: previous 1.36: preferred, colored
Changes since revision 1.36: +2 -1
lines
GSoC 2016: Charles Cui: add SEM_NSEMS_MAX
Revision 1.36: download - view: text, markup, annotated - select for diffs
Tue Mar 8 05:02:55 2016 UTC (8 years, 8 months ago) by christos
Branches: MAIN
Diff to: previous 1.35: preferred, colored
Changes since revision 1.35: +2 -2
lines
- GC pts_fired, and fix the comment about MAX_TIMERS
- Bump MAX_TIMERS to 36 so that we have 32 POSIX user timers which is the
minimum required.
Revision 1.35: download - view: text, markup, annotated - select for diffs
Fri Feb 26 17:10:23 2016 UTC (8 years, 9 months ago) by christos
Branches: MAIN
Diff to: previous 1.34: preferred, colored
Changes since revision 1.34: +2 -2
lines
We only have 28 timers available.
Revision 1.33.8.1: download - view: text, markup, annotated - select for diffs
Tue Nov 24 17:37:16 2015 UTC (9 years ago) by martin
Branches: netbsd-7
CVS tags: netbsd-7-nhusb-base-20170116,
netbsd-7-nhusb-base,
netbsd-7-nhusb,
netbsd-7-2-RELEASE,
netbsd-7-1-RELEASE,
netbsd-7-1-RC2,
netbsd-7-1-RC1,
netbsd-7-1-2-RELEASE,
netbsd-7-1-1-RELEASE,
netbsd-7-1
Diff to: previous 1.33: preferred, colored; next MAIN 1.34: preferred, colored
Changes since revision 1.33: +7 -5
lines
Pull up following revision(s) (requested by manu in ticket #829):
lib/libpthread_dbg/pthread_dbg.c: revision 1.43 (via patch)
lib/libpthread/pthread_int.h: revision 1.91-1.92 (via patch)
lib/libc/stdlib/jemalloc.c: revision 1.37-1.38
lib/libpthread/pthread_tsd.c: revision 1.12-1.14 (via patch)
include/limits.h: revision 1.34 (via patch)
lib/libpthread/pthread.c: revision 1.146-1.147 (via patch)
lib/libpthread/pthread_key_create.3: revision 1.7 (via patch)
libpthread:
Make PTHREAD_KEYS_MAX dynamically adjustable
NetBSD's PTHREAD_KEYS_MAX is set to 256, which is low compared to
other systems like Linux (1024) or MacOS X (512). As a result some
setups tested on Linux will exhibit problems on NetBSD because of
pthread_keys usage beyond the limit. This happens for instance on
Apache with various module loaded, and in this case no particular
developper can be blamed for going beyond the limit, since several
modules from different sources contribute to the problem.
This patch makes the limit conigurable through the PTHREAD_KEYS_MAX
environement variable. If undefined, the default remains unchanged
(256). In any case, the value cannot be lowered below POSIX-mandated
_POSIX_THREAD_KEYS_MAX (128).
While there:
- use EXIT_FAILURE instead of 1 when calling err(3) in libpthread.
- Reset _POSIX_THREAD_KEYS_MAX to POSIX mandated 128, instead of 256.
Fix previous: Can't use calloc/malloc before we complete initialization
of the thread library, because malloc uses pthread_foo_specific, and it will
end up initializing itself incorrectly.
Thanks rump for not letting us use even mmap during initialization.
libc/jemalloc:
Fix non _REENTRANT build.
Defer using pthread keys until we are threaded.
From Christos, fixes PR port-arm/50087 by allowing malloc calls prior
to libpthread initialization.
Revision 1.34: download - view: text, markup, annotated - select for diffs
Fri May 29 07:37:31 2015 UTC (9 years, 6 months ago) by manu
Branches: MAIN
Diff to: previous 1.33: preferred, colored
Changes since revision 1.33: +7 -5
lines
Make PTHREAD_KEYS_MAX dynamically adjustable
NetBSD's PTHREAD_KEYS_MAX is set to 256, which is low compared to
other systems like Linux (1024) or MacOS X (512). As a result some
setups tested on Linux will exhibit problems on NetBSD because of
pthread_keys usage beyond the limit. This happens for instance on
Apache with various module loaded, and in this case no particular
developper can be blamed for going beyond the limit, since several
modules from different sources contribute to the problem.
This patch makes the limit conigurable through the PTHREAD_KEYS_MAX
environement variable. If undefined, the default remains unchanged
(256). In any case, the value cannot be lowered below POSIX-mandated
_POSIX_THREAD_KEYS_MAX (128).
While there:
- use EXIT_FAILURE instead of 1 when calling err(3) in libpthread.
- Reset _POSIX_THREAD_KEYS_MAX to POSIX mandated 128, instead of 256.
Revision 1.31.2.2: download - view: text, markup, annotated - select for diffs
Wed Jan 16 05:32:22 2013 UTC (11 years, 10 months ago) by yamt
Branches: yamt-pagecache
CVS tags: yamt-pagecache-tag8
Diff to: previous 1.31.2.1: preferred, colored; branchpoint 1.31: preferred, colored; next MAIN 1.32: preferred, colored
Changes since revision 1.31.2.1: +1 -15
lines
sync with (a bit old) head
Revision 1.32.2.1: download - view: text, markup, annotated - select for diffs
Tue Nov 20 03:00:39 2012 UTC (12 years ago) by tls
Branches: tls-maxphys
Diff to: previous 1.32: preferred, colored; next MAIN 1.33: preferred, colored
Changes since revision 1.32: +1 -15
lines
Resync to 2012-11-19 00:00:00 UTC
Revision 1.33: download - view: text, markup, annotated - select for diffs
Sun Nov 18 17:41:53 2012 UTC (12 years ago) by manu
Branches: MAIN
CVS tags: yamt-pagecache-base9,
yamt-pagecache-base8,
yamt-pagecache-base7,
tls-maxphys-base,
tls-earlyentropy-base,
tls-earlyentropy,
riastradh-xf86-video-intel-2-7-1-pre-2-21-15,
riastradh-drm2-base3,
riastradh-drm2-base2,
riastradh-drm2-base1,
riastradh-drm2-base,
riastradh-drm2,
netbsd-7-base,
netbsd-7-0-RELEASE,
netbsd-7-0-RC3,
netbsd-7-0-RC2,
netbsd-7-0-RC1,
netbsd-7-0-2-RELEASE,
netbsd-7-0-1-RELEASE,
netbsd-7-0,
agc-symver-base,
agc-symver
Branch point for: netbsd-7
Diff to: previous 1.32: preferred, colored
Changes since revision 1.32: +1 -15
lines
Add most system calls for POSIX extended API set, part 2, with test cases:
faccessat(2), fchmodat(2), fchownat(2), fstatat(2), mkdirat(2), mkfifoat(2),
mknodat(2), linkat(2), readlinkat(2), symlinkat(2), renameat(2), unlinkat(2),
utimensat(2), openat(2).
Also implement O_SEARCH for openat(2)
Still missing:
- some flags for openat(2)
- fexecve(2) implementation
Revision 1.31.2.1: download - view: text, markup, annotated - select for diffs
Tue Apr 17 00:05:10 2012 UTC (12 years, 7 months ago) by yamt
Branches: yamt-pagecache
Diff to: previous 1.31: preferred, colored
Changes since revision 1.31: +10 -1
lines
sync with head
Revision 1.32: download - view: text, markup, annotated - select for diffs
Wed Mar 28 17:04:41 2012 UTC (12 years, 8 months ago) by christos
Branches: MAIN
CVS tags: yamt-pagecache-base6,
yamt-pagecache-base5,
yamt-pagecache-base4
Branch point for: tls-maxphys
Diff to: previous 1.31: preferred, colored
Changes since revision 1.31: +10 -1
lines
make CHAR_{MIN,MAX} work for both -fsigned-char and -funsigned-char
Revision 1.31: download - view: text, markup, annotated - select for diffs
Thu Oct 6 16:02:52 2011 UTC (13 years, 2 months ago) by christos
Branches: MAIN
CVS tags: yamt-pagecache-base3,
yamt-pagecache-base2,
yamt-pagecache-base,
netbsd-6-base,
netbsd-6-1-RELEASE,
netbsd-6-1-RC4,
netbsd-6-1-RC3,
netbsd-6-1-RC2,
netbsd-6-1-RC1,
netbsd-6-1-5-RELEASE,
netbsd-6-1-4-RELEASE,
netbsd-6-1-3-RELEASE,
netbsd-6-1-2-RELEASE,
netbsd-6-1-1-RELEASE,
netbsd-6-1,
netbsd-6-0-RELEASE,
netbsd-6-0-RC2,
netbsd-6-0-RC1,
netbsd-6-0-6-RELEASE,
netbsd-6-0-5-RELEASE,
netbsd-6-0-4-RELEASE,
netbsd-6-0-3-RELEASE,
netbsd-6-0-2-RELEASE,
netbsd-6-0-1-RELEASE,
netbsd-6-0,
netbsd-6,
matt-nb6-plus-nbase,
matt-nb6-plus-base,
matt-nb6-plus
Branch point for: yamt-pagecache
Diff to: previous 1.30: preferred, colored
Changes since revision 1.30: +30 -2
lines
Fix pthreads variables:
- Add missing stuff from Issue 6 (some of it commented out)
- Fix _POSIX_THREAD -> PTHREAD variable confusion
- Amend PTHREAD_KEYS_MAX to 256 since this is what libpthread defined internally
Revision 1.28.4.1: download - view: text, markup, annotated - select for diffs
Sat Sep 17 18:47:43 2011 UTC (13 years, 2 months ago) by bouyer
Branches: netbsd-5
CVS tags: netbsd-5-2-RELEASE,
netbsd-5-2-RC1,
netbsd-5-2-3-RELEASE,
netbsd-5-2-2-RELEASE,
netbsd-5-2-1-RELEASE,
netbsd-5-2
Diff to: previous 1.28: preferred, colored; next MAIN 1.29: preferred, colored
Changes since revision 1.28: +10 -1
lines
Pull up following revision(s) (requested by manu in ticket #1658):
sys/rump/include/rump/rump_syscalls.h: revision 1.52 via patch
sys/kern/init_sysent.c: revision 1.257 via patch
sys/rump/include/rump/rumpvnode_if.h: revision 1.12 via patch
lib/libc/sys/Makefile.inc: revision 1.208 via patch
sys/sys/syscallargs.h: revision 1.227 via patch
sys/kern/kern_exec.c: revision 1.317 via patch
sys/rump/librump/rumpkern/rump_syscalls.c: revision 1.74 via patch
include/limits.h: revision 1.30 via patch
sys/kern/syscalls.master: revision 1.251 via patch
sys/sys/vnode_if.h: revision 1.83 via patch
sys/sys/fcntl.h: revision 1.40 via patch
sys/sys/fcntl.h: revision 1.41 via patch
sys/kern/vfs_syscalls.c: revision 1.433 via patch
sys/rump/librump/rumpvfs/rumpvnode_if.c: revision 1.11 via patch
sys/kern/syscalls.c: revision 1.248 via patch
sys/sys/syscall.h: revision 1.244 via patch
lib/libc/sys/link.2: revision 1.25 via patch
include/unistd.h: revision 1.127 via patch
distrib/sets/lists/comp/mi: revision 1.1659 via patch
sys/sys/stat.h: revision 1.61 via patch
First stage of support for Extended API set 2. Most of the think is
unimplemented, except enough of linkat(2) to hardlink to a symlink.
Everything new in headers is guarded #ifdef _INCOMPLETE_XOPEN_C063 since
some software (e.g.: xcvs in our own tree) will assume they can use openat(2)
when AT_FDCWD is defined. _INCOMPLETE_XOPEN_C063 will go away once support
will be completed.
regen
improve comment about AT_* defines: they are not only used by linkat(2)
Add macros to hide OpenGroup extened API set 2 from GNU configure. This
is a temporary workaround until the implementation is completed.
Revision 1.30: download - view: text, markup, annotated - select for diffs
Tue Aug 16 07:55:29 2011 UTC (13 years, 3 months ago) by manu
Branches: MAIN
Diff to: previous 1.29: preferred, colored
Changes since revision 1.29: +24 -1
lines
Add macros to hide OpenGroup extened API set 2 from GNU configure. This
is a temporary workaround until the implementation is completed.
Revision 1.28.14.1: download - view: text, markup, annotated - select for diffs
Tue Aug 17 06:40:00 2010 UTC (14 years, 3 months ago) by uebayasi
Branches: uebayasi-xip
Diff to: previous 1.28: preferred, colored; next MAIN 1.29: preferred, colored
Changes since revision 1.28: +3 -1
lines
Sync with HEAD.
Revision 1.29: download - view: text, markup, annotated - select for diffs
Mon Jun 7 13:52:29 2010 UTC (14 years, 6 months ago) by tnozaki
Branches: MAIN
CVS tags: uebayasi-xip-base7,
uebayasi-xip-base6,
uebayasi-xip-base5,
uebayasi-xip-base4,
uebayasi-xip-base3,
uebayasi-xip-base2,
matt-mips64-premerge-20101231,
cherry-xenmp-base,
cherry-xenmp,
bouyer-quota2-nbase,
bouyer-quota2-base,
bouyer-quota2
Diff to: previous 1.28: preferred, colored
Changes since revision 1.28: +3 -1
lines
1. MB_LEN_MAX switch MD to MI.
2. unfortunately hppa's MB_LEN_MAX is defined incorrectly 6 instead of 32
so we have to add more setlocale(3) __RENAME func, __setlocale50.
3. move setlocale1.c and setlocale32.c to lib/libc/compat/locale/*
prepareing for next libc major crunk.
4. bump libc minor version.
Revision 1.26.8.1: download - view: text, markup, annotated - select for diffs
Thu Sep 18 04:39:55 2008 UTC (16 years, 2 months ago) by wrstuden
Branches: wrstuden-revivesa
Diff to: previous 1.26: preferred, colored; next MAIN 1.27: preferred, colored
Changes since revision 1.26: +4 -2
lines
Sync with wrstuden-revivesa-base-2.
Revision 1.28.6.2: download - view: text, markup, annotated - select for diffs
Wed Aug 27 08:53:56 2008 UTC (16 years, 3 months ago) by christos
Branches: christos-time_t
Diff to: previous 1.28.6.1: preferred, colored; branchpoint 1.28: preferred, colored; next MAIN 1.29: preferred, colored
Changes since revision 1.28.6.1: +114 -0
lines
Make _POSIX_TZNAME_MAX=6 per SUSv3, from Andy Shevchenko
Revision 1.28.6.1
Wed Aug 27 08:53:55 2008 UTC (16 years, 3 months ago) by christos
Branches: christos-time_t
FILE REMOVED
Changes since revision 1.28: +0 -114
lines
file limits.h was added on branch christos-time_t on 2008-08-27 08:53:56 +0000
Revision 1.28: download - view: text, markup, annotated - select for diffs
Wed Aug 27 08:53:55 2008 UTC (16 years, 3 months ago) by christos
Branches: MAIN
CVS tags: wrstuden-revivesa-base-3,
wrstuden-revivesa-base-2,
uebayasi-xip-base1,
uebayasi-xip-base,
netbsd-5-base,
netbsd-5-1-RELEASE,
netbsd-5-1-RC4,
netbsd-5-1-RC3,
netbsd-5-1-RC2,
netbsd-5-1-RC1,
netbsd-5-1-5-RELEASE,
netbsd-5-1-4-RELEASE,
netbsd-5-1-3-RELEASE,
netbsd-5-1-2-RELEASE,
netbsd-5-1-1-RELEASE,
netbsd-5-1,
netbsd-5-0-RELEASE,
netbsd-5-0-RC4,
netbsd-5-0-RC3,
netbsd-5-0-RC2,
netbsd-5-0-RC1,
netbsd-5-0-2-RELEASE,
netbsd-5-0-1-RELEASE,
netbsd-5-0,
matt-premerge-20091211,
matt-nb5-pq3-base,
matt-nb5-pq3,
matt-nb5-mips64-u2-k2-k4-k7-k8-k9,
matt-nb5-mips64-u1-k1-k5,
matt-nb5-mips64-premerge-20101231,
matt-nb5-mips64-premerge-20091211,
matt-nb5-mips64-k15,
matt-nb5-mips64,
matt-nb4-mips64-k7-u2a-k9b,
matt-mips64-base2,
jym-xensuspend-nbase,
jym-xensuspend-base,
jym-xensuspend,
christos-time_t-nbase,
christos-time_t-base
Branch point for: uebayasi-xip,
netbsd-5,
christos-time_t
Diff to: previous 1.27: preferred, colored
Changes since revision 1.27: +2 -2
lines
Make _POSIX_TZNAME_MAX=6 per SUSv3, from Andy Shevchenko
Revision 1.27: download - view: text, markup, annotated - select for diffs
Mon Aug 4 17:08:49 2008 UTC (16 years, 4 months ago) by matt
Branches: MAIN
Diff to: previous 1.26: preferred, colored
Changes since revision 1.26: +3 -1
lines
Add _POSIX_HOST_NAME_MAX and _POSIX_SYMLOOP_MAX to <limits.h> and add some
references to them in <sys/param.h>
in <stdio.h> also export v*scanf when _ISOC99_SOURCE is defined
From andy dot shevchenko at gmail dot com.
Revision 1.24.4.1: download - view: text, markup, annotated - select for diffs
Tue Nov 6 23:11:04 2007 UTC (17 years, 1 month ago) by matt
Branches: matt-armv6
CVS tags: matt-armv6-prevmlocking
Diff to: previous 1.24: preferred, colored; next MAIN 1.25: preferred, colored
Changes since revision 1.24: +5 -3
lines
sync with HEAD
Revision 1.26: download - view: text, markup, annotated - select for diffs
Fri Sep 21 01:41:43 2007 UTC (17 years, 2 months ago) by rmind
Branches: MAIN
CVS tags: yamt-pf42-baseX,
yamt-pf42-base4,
yamt-pf42-base3,
yamt-pf42-base2,
yamt-pf42-base,
yamt-pf42,
wrstuden-revivesa-base-1,
wrstuden-revivesa-base,
simonb-wapbl-nbase,
simonb-wapbl-base,
simonb-wapbl,
matt-armv6-nbase,
matt-armv6-base,
keiichi-mipv6-base,
keiichi-mipv6,
hpcarm-cleanup-nbase,
hpcarm-cleanup-base,
cube-autoconf-base,
cube-autoconf
Branch point for: wrstuden-revivesa
Diff to: previous 1.25: preferred, colored
Changes since revision 1.25: +3 -3
lines
- Correct the value of _POSIX_SYMLINK_MAX as defined in standard.
Closes PR/37007 by Ighighi.
- While here, increase _POSIX_CHILD_MAX as suggested by standard.
Revision 1.25: download - view: text, markup, annotated - select for diffs
Fri Sep 7 18:56:04 2007 UTC (17 years, 3 months ago) by rmind
Branches: MAIN
Diff to: previous 1.24: preferred, colored
Changes since revision 1.24: +3 -1
lines
Implementation of POSIX message queues.
Reviewed by: <ad>, <tech-kern>
Revision 1.24: download - view: text, markup, annotated - select for diffs
Tue May 1 01:01:25 2007 UTC (17 years, 7 months ago) by rmind
Branches: MAIN
CVS tags: matt-mips64-base,
matt-mips64,
hpcarm-cleanup
Branch point for: matt-armv6
Diff to: previous 1.23: preferred, colored
Changes since revision 1.23: +3 -1
lines
- Create sysctl nodes for AIO.
- Add POSIX defined system variables and constants of AIO_LISTIO_MAX and
AIO_MAX values. Both with _POSIX_ASYNCHRONOUS_IO, provide them in
sysconf(3) and getconf(1) interfaces.
- Clean up sysconf(3) for handling sysctl nodes dynamically.
Revision 1.23: download - view: text, markup, annotated - select for diffs
Wed Nov 10 04:02:52 2004 UTC (20 years ago) by lukem
Branches: MAIN
CVS tags: wrstuden-fixsa-newbase,
wrstuden-fixsa-base-1,
wrstuden-fixsa-base,
wrstuden-fixsa,
netbsd-4-base,
netbsd-4-0-RELEASE,
netbsd-4-0-RC5,
netbsd-4-0-RC4,
netbsd-4-0-RC3,
netbsd-4-0-RC2,
netbsd-4-0-RC1,
netbsd-4-0-1-RELEASE,
netbsd-4-0,
netbsd-4,
netbsd-3-base,
netbsd-3-1-RELEASE,
netbsd-3-1-RC4,
netbsd-3-1-RC3,
netbsd-3-1-RC2,
netbsd-3-1-RC1,
netbsd-3-1-1-RELEASE,
netbsd-3-1,
netbsd-3-0-RELEASE,
netbsd-3-0-RC6,
netbsd-3-0-RC5,
netbsd-3-0-RC4,
netbsd-3-0-RC3,
netbsd-3-0-RC2,
netbsd-3-0-RC1,
netbsd-3-0-3-RELEASE,
netbsd-3-0-2-RELEASE,
netbsd-3-0-1-RELEASE,
netbsd-3-0,
netbsd-3,
abandoned-netbsd-4-base,
abandoned-netbsd-4
Diff to: previous 1.22: preferred, colored
Changes since revision 1.22: +5 -1
lines
Implement sysconf(3) _SC_GETGR_R_SIZE_MAX and _SC_GETPW_R_SIZE_MAX for
the 1003.1-2001 Thread Safe Functions (TSF) getgrnam_r(3) and getpwnam_r(3).
These are not implemented in sysctl(3) "user.*", since that adds a lot
of complexity in the implementation for no real benefit.
Revision 1.22: download - view: text, markup, annotated - select for diffs
Thu Aug 7 09:44:10 2003 UTC (21 years, 4 months ago) by agc
Branches: MAIN
CVS tags: netbsd-2-base,
netbsd-2-1-RELEASE,
netbsd-2-1-RC6,
netbsd-2-1-RC5,
netbsd-2-1-RC4,
netbsd-2-1-RC3,
netbsd-2-1-RC2,
netbsd-2-1-RC1,
netbsd-2-1,
netbsd-2-0-base,
netbsd-2-0-RELEASE,
netbsd-2-0-RC5,
netbsd-2-0-RC4,
netbsd-2-0-RC3,
netbsd-2-0-RC2,
netbsd-2-0-RC1,
netbsd-2-0-3-RELEASE,
netbsd-2-0-2-RELEASE,
netbsd-2-0-1-RELEASE,
netbsd-2-0,
netbsd-2
Diff to: previous 1.21: preferred, colored
Changes since revision 1.21: +2 -6
lines
Move UCB-licensed code from 4-clause to 3-clause licence.
Patches provided by Joel Baker in PR 22270, verified by myself.
Revision 1.21: download - view: text, markup, annotated - select for diffs
Wed Jul 16 21:03:54 2003 UTC (21 years, 4 months ago) by nathanw
Branches: MAIN
Diff to: previous 1.20: preferred, colored
Changes since revision 1.20: +5 -1
lines
Add the _POSIX_THREAD and _POSIX_TIMER mandated minimum limits.
Revision 1.20: download - view: text, markup, annotated - select for diffs
Mon Apr 28 23:16:13 2003 UTC (21 years, 7 months ago) by bjh21
Branches: MAIN
Diff to: previous 1.19: preferred, colored
Changes since revision 1.19: +9 -6
lines
Add a new feature-test macro, _NETBSD_SOURCE. If this is defined
by the application, all NetBSD interfaces are made visible, even
if some other feature-test macro (like _POSIX_C_SOURCE) is defined.
<sys/featuretest.h> defined _NETBSD_SOURCE if none of _ANSI_SOURCE,
_POSIX_C_SOURCE and _XOPEN_SOURCE is defined, so as to preserve
existing behaviour.
This has two major advantages:
+ Programs that require non-POSIX facilities but define _POSIX_C_SOURCE
can trivially be overruled by putting -D_NETBSD_SOURCE in their CFLAGS.
+ It makes most of the #ifs simpler, in that they're all now ORs of the
various macros, rather than having checks for (!defined(_ANSI_SOURCE) ||
!defined(_POSIX_C_SOURCE) || !defined(_XOPEN_SOURCE)) all over the place.
I've tried not to change the semantics of the headers in any case where
_NETBSD_SOURCE wasn't defined, but there were some places where the
current semantics were clearly mad, and retaining them was harder than
correcting them. In particular, I've mostly normalised things so that
_ANSI_SOURCE gets you the smallest set of stuff, then _POSIX_C_SOURCE,
_XOPEN_SOURCE and _NETBSD_SOURCE in that order.
Tested by building for vax, encouraged by thorpej, and uncontested in
tech-userlevel for a week.
Revision 1.19: download - view: text, markup, annotated - select for diffs
Sat Jan 18 17:12:13 2003 UTC (21 years, 10 months ago) by christos
Branches: MAIN
Diff to: previous 1.18: preferred, colored
Changes since revision 1.18: +2 -2
lines
oops, erased word accidentally.
Revision 1.18: download - view: text, markup, annotated - select for diffs
Sat Jan 18 17:10:16 2003 UTC (21 years, 10 months ago) by christos
Branches: MAIN
Diff to: previous 1.17: preferred, colored
Changes since revision 1.17: +4 -1
lines
avoid TMP_MAX redefinition
Revision 1.13.8.2: download - view: text, markup, annotated - select for diffs
Tue Dec 10 06:42:45 2002 UTC (22 years ago) by thorpej
Branches: nathanw_sa
CVS tags: nathanw_sa_end
Diff to: previous 1.13.8.1: preferred, colored; branchpoint 1.13: preferred, colored; next MAIN 1.14: preferred, colored
Changes since revision 1.13.8.1: +19 -7
lines
Sync with HEAD.
Revision 1.17: download - view: text, markup, annotated - select for diffs
Mon Nov 18 13:39:33 2002 UTC (22 years ago) by kleink
Branches: MAIN
CVS tags: nathanw_sa_before_merge,
nathanw_sa_base,
fvdl_fs64_base
Diff to: previous 1.16: preferred, colored
Changes since revision 1.16: +19 -7
lines
Update for 1003.1-2001 base and XSI changes.
Revision 1.13.8.1: download - view: text, markup, annotated - select for diffs
Tue Aug 13 00:59:15 2002 UTC (22 years, 3 months ago) by nathanw
Branches: nathanw_sa
Diff to: previous 1.13: preferred, colored
Changes since revision 1.13: +2 -2
lines
Catch up to -current.
Revision 1.16: download - view: text, markup, annotated - select for diffs
Sun Aug 4 18:06:54 2002 UTC (22 years, 4 months ago) by soren
Branches: MAIN
Diff to: previous 1.15: preferred, colored
Changes since revision 1.15: +3 -0
lines
Back out previous - I was confused.
Revision 1.15: download - view: text, markup, annotated - select for diffs
Sun Aug 4 05:41:58 2002 UTC (22 years, 4 months ago) by soren
Branches: MAIN
Diff to: previous 1.14: preferred, colored
Changes since revision 1.14: +1 -4
lines
Per IEEE 1003.1-2001, omit from <limits.h> those Pathname Variable Values
that may vary between filesystems: _POSIX_LINK_MAX, _POSIX_NAME_MAX, and
_POSIX_PATH_MAX. These are to be obtained from pathconf() instead.
Revision 1.14: download - view: text, markup, annotated - select for diffs
Sun Aug 4 05:22:34 2002 UTC (22 years, 4 months ago) by soren
Branches: MAIN
Diff to: previous 1.13: preferred, colored
Changes since revision 1.13: +2 -2
lines
As of IEEE (POSIX) 1003.1-2001, _POSIX_PATH_MAX must be at least 256 rather
than 255 and is now defined to include the terminating NUL.
Revision 1.12.2.1: download - view: text, markup, annotated - select for diffs
Mon Dec 27 18:29:21 1999 UTC (24 years, 11 months ago) by wrstuden
Branches: wrstuden-devbsize
Diff to: previous 1.12: preferred, colored; next MAIN 1.13: preferred, colored
Changes since revision 1.12: +2 -1
lines
Pull up to last week's -current.
Revision 1.13: download - view: text, markup, annotated - select for diffs
Mon Sep 27 16:24:39 1999 UTC (25 years, 2 months ago) by kleink
Branches: MAIN
CVS tags: wrstuden-devbsize-base,
wrstuden-devbsize-19991221,
netbsd-1-6-base,
netbsd-1-6-RELEASE,
netbsd-1-6-RC3,
netbsd-1-6-RC2,
netbsd-1-6-RC1,
netbsd-1-6-PATCH002-RELEASE,
netbsd-1-6-PATCH002-RC4,
netbsd-1-6-PATCH002-RC3,
netbsd-1-6-PATCH002-RC2,
netbsd-1-6-PATCH002-RC1,
netbsd-1-6-PATCH002,
netbsd-1-6-PATCH001-RELEASE,
netbsd-1-6-PATCH001-RC3,
netbsd-1-6-PATCH001-RC2,
netbsd-1-6-PATCH001-RC1,
netbsd-1-6-PATCH001,
netbsd-1-6,
netbsd-1-5-base,
netbsd-1-5-RELEASE,
netbsd-1-5-PATCH003,
netbsd-1-5-PATCH002,
netbsd-1-5-PATCH001,
netbsd-1-5-BETA2,
netbsd-1-5-BETA,
netbsd-1-5-ALPHA2,
netbsd-1-5,
minoura-xpg4dl-base,
minoura-xpg4dl,
comdex-fall-1999-base,
comdex-fall-1999
Branch point for: nathanw_sa
Diff to: previous 1.12: preferred, colored
Changes since revision 1.12: +2 -1
lines
1003.1c: add {LOGIN_NAME_MAX}.
Revision 1.12: download - view: text, markup, annotated - select for diffs
Mon Sep 6 22:20:50 1999 UTC (25 years, 3 months ago) by kleink
Branches: MAIN
Branch point for: wrstuden-devbsize
Diff to: previous 1.11: preferred, colored
Changes since revision 1.11: +2 -2
lines
Bump NL_TEXTMAX to 2048 (== _POSIX2_LINE_MAX, which is the minimum value
required by XSH5.)
Revision 1.11: download - view: text, markup, annotated - select for diffs
Mon Aug 3 14:32:04 1998 UTC (26 years, 4 months ago) by kleink
Branches: MAIN
CVS tags: netbsd-1-4-base,
netbsd-1-4-RELEASE,
netbsd-1-4-PATCH003,
netbsd-1-4-PATCH002,
netbsd-1-4-PATCH001,
netbsd-1-4
Diff to: previous 1.10: preferred, colored
Changes since revision 1.10: +3 -1
lines
Per XSH5, define _XOPEN_IOV_MAX.
Revision 1.10: download - view: text, markup, annotated - select for diffs
Wed Jul 8 19:51:25 1998 UTC (26 years, 5 months ago) by kleink
Branches: MAIN
Diff to: previous 1.9: preferred, colored
Changes since revision 1.9: +7 -4
lines
For the sake of XPG3 and later, provide TMP_MAX; consistent with the defintion
in <stdio.h>. Also, rearrange name space protection a bit.
Revision 1.9: download - view: text, markup, annotated - select for diffs
Mon Feb 2 21:07:27 1998 UTC (26 years, 10 months ago) by perry
Branches: MAIN
Diff to: previous 1.8: preferred, colored
Changes since revision 1.8: +8 -8
lines
merge lite-2
Revision 1.1.1.2 (vendor branch): download - view: text, markup, annotated - select for diffs
Mon Feb 2 07:22:57 1998 UTC (26 years, 10 months ago) by perry
Branches: WFJ-920714,
CSRG
CVS tags: lite-2
Diff to: previous 1.1.1.1: preferred, colored
Changes since revision 1.1.1.1: +6 -3
lines
import lite-2
Revision 1.8: download - view: text, markup, annotated - select for diffs
Mon Oct 21 05:10:50 1996 UTC (28 years, 1 month ago) by jtc
Branches: MAIN
CVS tags: nsswitch,
netbsd-1-3-base,
netbsd-1-3-RELEASE,
netbsd-1-3-PATCH003-CANDIDATE2,
netbsd-1-3-PATCH003-CANDIDATE1,
netbsd-1-3-PATCH003-CANDIDATE0,
netbsd-1-3-PATCH003,
netbsd-1-3-PATCH002,
netbsd-1-3-PATCH001,
netbsd-1-3-BETA,
netbsd-1-3
Diff to: previous 1.7: preferred, colored
Changes since revision 1.7: +2 -2
lines
Fix typo: _POSIX_SSIZE_MAX was set to wrong value
Revision 1.7: download - view: text, markup, annotated - select for diffs
Wed Oct 26 00:56:00 1994 UTC (30 years, 1 month ago) by cgd
Branches: MAIN
CVS tags: netbsd-1-2-base,
netbsd-1-2-RELEASE,
netbsd-1-2-PATCH001,
netbsd-1-2-BETA,
netbsd-1-2,
netbsd-1-1-base,
netbsd-1-1-RELEASE,
netbsd-1-1-PATCH001,
netbsd-1-1
Diff to: previous 1.6: preferred, colored
Changes since revision 1.6: +3 -2
lines
new RCS ID format.
Revision 1.6: download - view: text, markup, annotated - select for diffs
Wed Oct 5 17:24:47 1994 UTC (30 years, 2 months ago) by jtc
Branches: MAIN
Diff to: previous 1.5: preferred, colored
Changes since revision 1.5: +13 -2
lines
Add constants required by XPG3
Revision 1.5: download - view: text, markup, annotated - select for diffs
Tue Oct 12 21:56:55 1993 UTC (31 years, 1 month ago) by jtc
Branches: MAIN
CVS tags: netbsd-1-0-base,
netbsd-1-0-RELEASE,
netbsd-1-0-PATCH1,
netbsd-1-0-PATCH06,
netbsd-1-0-PATCH05,
netbsd-1-0-PATCH04,
netbsd-1-0-PATCH03,
netbsd-1-0-PATCH02,
netbsd-1-0-PATCH0,
netbsd-1-0
Diff to: previous 1.4: preferred, colored
Changes since revision 1.4: +1 -2
lines
POSIX2_VERSION macro is supposed to live in <unistd.h>
Revision 1.4: download - view: text, markup, annotated - select for diffs
Fri Sep 24 18:13:15 1993 UTC (31 years, 2 months ago) by jtc
Branches: MAIN
Diff to: previous 1.3: preferred, colored
Changes since revision 1.3: +7 -2
lines
Do not #define the _POSIX_FOO constants if compliling in strict ANSI mode.
Define the _POSIX_SSIZE_MAX, _POSIX_STREAM_MAX, and _POSIX_TZNAME_MAX constants
added in 1003.1-90.
Revision 1.3: download - view: text, markup, annotated - select for diffs
Tue Sep 21 21:55:40 1993 UTC (31 years, 2 months ago) by jtc
Branches: MAIN
Diff to: previous 1.2: preferred, colored
Changes since revision 1.2: +3 -2
lines
POSIX_EQUIV_CLASS_MAX was renamed POSIX_COLL_WEIGHTS_MAX in final draft
of POSIX.2.
Added definintion for _POSIX2_VERSION.
Revision 1.2: download - view: text, markup, annotated - select for diffs
Sun Aug 1 18:44:50 1993 UTC (31 years, 4 months ago) by mycroft
Branches: MAIN
Diff to: previous 1.1: preferred, colored
Changes since revision 1.1: +2 -1
lines
Add RCS identifiers.
Revision 1.1.1.1 (vendor branch): download - view: text, markup, annotated - select for diffs
Sun Mar 21 09:45:37 1993 UTC (31 years, 8 months ago) by cgd
Branches: WFJ-920714,
CSRG
CVS tags: patchkit-0-2-2,
netbsd-alpha-1,
netbsd-0-9-base,
netbsd-0-9-RELEASE,
netbsd-0-9-BETA,
netbsd-0-9-ALPHA2,
netbsd-0-9-ALPHA,
netbsd-0-9,
netbsd-0-8,
WFJ-386bsd-01
Diff to: previous 1.1: preferred, colored
Changes since revision 1.1: +0 -0
lines
initial import of 386bsd-0.1 sources
Revision 1.1: download - view: text, markup, annotated - select for diffs
Sun Mar 21 09:45:37 1993 UTC (31 years, 8 months ago) by cgd
Branches: MAIN
Initial revision
CVSweb <webmaster@jp.NetBSD.org>