The NetBSD Project

CVS log for src/include/limits.h

[BACK] Up to [cvs.NetBSD.org] / src / include

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.43 / (download) - annotate - [select for diffs], Tue May 31 13:42:59 2022 UTC (22 months, 1 week ago) by riastradh
Branch: MAIN
CVS Tags: 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, netbsd-10, HEAD
Changes since 1.42: +5 -1 lines
Diff to previous 1.42 (colored)

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) - annotate - [select for diffs], Mon Apr 13 08:03:08 2020 UTC (4 years ago) by martin
Branch: phil-wifi
Changes since 1.40: +1 -10 lines
Diff to previous 1.40 (colored) next main 1.41 (colored)

Mostly merge changes from HEAD upto 20200411

Revision 1.42 / (download) - annotate - [select for diffs], Sun Sep 15 23:52:59 2019 UTC (4 years, 6 months ago) by christos
Branch: 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
Changes since 1.41: +1 -7 lines
Diff to previous 1.41 (colored)

remove comment for incomplete x/open impl (kamil)

Revision 1.41 / (download) - annotate - [select for diffs], Sun Sep 15 23:41:00 2019 UTC (4 years, 6 months ago) by christos
Branch: MAIN
Changes since 1.40: +1 -4 lines
Diff to previous 1.40 (colored)

Remove the _INCOMPLETE_XOPEN_C063 stuff.

Revision 1.38.2.2 / (download) - annotate - [select for diffs], Sat Aug 6 00:19:02 2016 UTC (7 years, 8 months ago) by pgoyette
Branch: pgoyette-localcount
Changes since 1.38.2.1: +3 -1 lines
Diff to previous 1.38.2.1 (colored) to branchpoint 1.38 (colored) next main 1.39 (colored)

Sync with HEAD

Revision 1.40 / (download) - annotate - [select for diffs], Thu Aug 4 06:43:43 2016 UTC (7 years, 8 months ago) by christos
Branch: 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-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-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
Changes since 1.39: +3 -1 lines
Diff to previous 1.39 (colored)

Realtime signal support from GSoC 2016, Charles Cui.

Revision 1.38.2.1 / (download) - annotate - [select for diffs], Tue Jul 26 03:24:15 2016 UTC (7 years, 8 months ago) by pgoyette
Branch: pgoyette-localcount
Changes since 1.38: +1 -3 lines
Diff to previous 1.38 (colored)

Sync with HEAD

Revision 1.39 / (download) - annotate - [select for diffs], Thu Jul 21 16:01:58 2016 UTC (7 years, 8 months ago) by njoly
Branch: MAIN
CVS Tags: pgoyette-localcount-20160726
Changes since 1.38: +1 -3 lines
Diff to previous 1.38 (colored)

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) - annotate - [select for diffs], Fri Jun 10 23:29:20 2016 UTC (7 years, 10 months ago) by christos
Branch: MAIN
CVS Tags: pgoyette-localcount-base
Branch point for: pgoyette-localcount
Changes since 1.37: +4 -1 lines
Diff to previous 1.37 (colored)

GSoC 2016: Charles Cui: Add timer related macros
    _POSIX_CPUTIME
    _POSIX_THREAD_CPUTIME
    _POSIX_DELAYTIMER_MAX

Revision 1.37 / (download) - annotate - [select for diffs], Fri Jun 10 23:24:33 2016 UTC (7 years, 10 months ago) by christos
Branch: MAIN
Changes since 1.36: +2 -1 lines
Diff to previous 1.36 (colored)

GSoC 2016: Charles Cui: add SEM_NSEMS_MAX

Revision 1.36 / (download) - annotate - [select for diffs], Tue Mar 8 05:02:55 2016 UTC (8 years, 1 month ago) by christos
Branch: MAIN
Changes since 1.35: +2 -2 lines
Diff to previous 1.35 (colored)

- 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) - annotate - [select for diffs], Fri Feb 26 17:10:23 2016 UTC (8 years, 1 month ago) by christos
Branch: MAIN
Changes since 1.34: +2 -2 lines
Diff to previous 1.34 (colored)

We only have 28 timers available.

Revision 1.33.8.1 / (download) - annotate - [select for diffs], Tue Nov 24 17:37:16 2015 UTC (8 years, 4 months ago) by martin
Branch: 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
Changes since 1.33: +7 -5 lines
Diff to previous 1.33 (colored) next main 1.34 (colored)

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) - annotate - [select for diffs], Fri May 29 07:37:31 2015 UTC (8 years, 10 months ago) by manu
Branch: MAIN
Changes since 1.33: +7 -5 lines
Diff to previous 1.33 (colored)

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) - annotate - [select for diffs], Wed Jan 16 05:32:22 2013 UTC (11 years, 2 months ago) by yamt
Branch: yamt-pagecache
CVS Tags: yamt-pagecache-tag8
Changes since 1.31.2.1: +1 -15 lines
Diff to previous 1.31.2.1 (colored) to branchpoint 1.31 (colored) next main 1.32 (colored)

sync with (a bit old) head

Revision 1.32.2.1 / (download) - annotate - [select for diffs], Tue Nov 20 03:00:39 2012 UTC (11 years, 4 months ago) by tls
Branch: tls-maxphys
Changes since 1.32: +1 -15 lines
Diff to previous 1.32 (colored) next main 1.33 (colored)

Resync to 2012-11-19 00:00:00 UTC

Revision 1.33 / (download) - annotate - [select for diffs], Sun Nov 18 17:41:53 2012 UTC (11 years, 4 months ago) by manu
Branch: 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
Changes since 1.32: +1 -15 lines
Diff to previous 1.32 (colored)

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) - annotate - [select for diffs], Tue Apr 17 00:05:10 2012 UTC (11 years, 11 months ago) by yamt
Branch: yamt-pagecache
Changes since 1.31: +10 -1 lines
Diff to previous 1.31 (colored)

sync with head

Revision 1.32 / (download) - annotate - [select for diffs], Wed Mar 28 17:04:41 2012 UTC (12 years ago) by christos
Branch: MAIN
CVS Tags: yamt-pagecache-base6, yamt-pagecache-base5, yamt-pagecache-base4
Branch point for: tls-maxphys
Changes since 1.31: +10 -1 lines
Diff to previous 1.31 (colored)

make CHAR_{MIN,MAX} work for both -fsigned-char and -funsigned-char

Revision 1.31 / (download) - annotate - [select for diffs], Thu Oct 6 16:02:52 2011 UTC (12 years, 6 months ago) by christos
Branch: 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
Changes since 1.30: +30 -2 lines
Diff to previous 1.30 (colored)

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) - annotate - [select for diffs], Sat Sep 17 18:47:43 2011 UTC (12 years, 6 months ago) by bouyer
Branch: 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
Changes since 1.28: +10 -1 lines
Diff to previous 1.28 (colored) next main 1.29 (colored)

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) - annotate - [select for diffs], Tue Aug 16 07:55:29 2011 UTC (12 years, 7 months ago) by manu
Branch: MAIN
Changes since 1.29: +24 -1 lines
Diff to previous 1.29 (colored)

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) - annotate - [select for diffs], Tue Aug 17 06:40:00 2010 UTC (13 years, 7 months ago) by uebayasi
Branch: uebayasi-xip
Changes since 1.28: +3 -1 lines
Diff to previous 1.28 (colored) next main 1.29 (colored)

Sync with HEAD.

Revision 1.29 / (download) - annotate - [select for diffs], Mon Jun 7 13:52:29 2010 UTC (13 years, 10 months ago) by tnozaki
Branch: 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
Changes since 1.28: +3 -1 lines
Diff to previous 1.28 (colored)

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) - annotate - [select for diffs], Thu Sep 18 04:39:55 2008 UTC (15 years, 6 months ago) by wrstuden
Branch: wrstuden-revivesa
Changes since 1.26: +4 -2 lines
Diff to previous 1.26 (colored) next main 1.27 (colored)

Sync with wrstuden-revivesa-base-2.

Revision 1.28.6.2 / (download) - annotate - [select for diffs], Wed Aug 27 08:53:56 2008 UTC (15 years, 7 months ago) by christos
Branch: christos-time_t
Changes since 1.28.6.1: +114 -0 lines
Diff to previous 1.28.6.1 (colored) to branchpoint 1.28 (colored) next main 1.29 (colored)

Make _POSIX_TZNAME_MAX=6 per SUSv3, from Andy Shevchenko

Revision 1.28.6.1, Wed Aug 27 08:53:55 2008 UTC (15 years, 7 months ago) by christos
Branch: christos-time_t
Changes since 1.28: +0 -114 lines
FILE REMOVED

file limits.h was added on branch christos-time_t on 2008-08-27 08:53:56 +0000

Revision 1.28 / (download) - annotate - [select for diffs], Wed Aug 27 08:53:55 2008 UTC (15 years, 7 months ago) by christos
Branch: 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
Changes since 1.27: +2 -2 lines
Diff to previous 1.27 (colored)

Make _POSIX_TZNAME_MAX=6 per SUSv3, from Andy Shevchenko

Revision 1.27 / (download) - annotate - [select for diffs], Mon Aug 4 17:08:49 2008 UTC (15 years, 8 months ago) by matt
Branch: MAIN
Changes since 1.26: +3 -1 lines
Diff to previous 1.26 (colored)

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) - annotate - [select for diffs], Tue Nov 6 23:11:04 2007 UTC (16 years, 5 months ago) by matt
Branch: matt-armv6
CVS Tags: matt-armv6-prevmlocking
Changes since 1.24: +5 -3 lines
Diff to previous 1.24 (colored) next main 1.25 (colored)

sync with HEAD

Revision 1.26 / (download) - annotate - [select for diffs], Fri Sep 21 01:41:43 2007 UTC (16 years, 6 months ago) by rmind
Branch: 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
Changes since 1.25: +3 -3 lines
Diff to previous 1.25 (colored)

- 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) - annotate - [select for diffs], Fri Sep 7 18:56:04 2007 UTC (16 years, 7 months ago) by rmind
Branch: MAIN
Changes since 1.24: +3 -1 lines
Diff to previous 1.24 (colored)

Implementation of POSIX message queues.

Reviewed by: <ad>, <tech-kern>

Revision 1.24 / (download) - annotate - [select for diffs], Tue May 1 01:01:25 2007 UTC (16 years, 11 months ago) by rmind
Branch: MAIN
CVS Tags: matt-mips64-base, matt-mips64, hpcarm-cleanup
Branch point for: matt-armv6
Changes since 1.23: +3 -1 lines
Diff to previous 1.23 (colored)

- 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) - annotate - [select for diffs], Wed Nov 10 04:02:52 2004 UTC (19 years, 5 months ago) by lukem
Branch: 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
Changes since 1.22: +5 -1 lines
Diff to previous 1.22 (colored)

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) - annotate - [select for diffs], Thu Aug 7 09:44:10 2003 UTC (20 years, 8 months ago) by agc
Branch: 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
Changes since 1.21: +2 -6 lines
Diff to previous 1.21 (colored)

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) - annotate - [select for diffs], Wed Jul 16 21:03:54 2003 UTC (20 years, 9 months ago) by nathanw
Branch: MAIN
Changes since 1.20: +5 -1 lines
Diff to previous 1.20 (colored)

Add the _POSIX_THREAD and _POSIX_TIMER mandated minimum limits.

Revision 1.20 / (download) - annotate - [select for diffs], Mon Apr 28 23:16:13 2003 UTC (20 years, 11 months ago) by bjh21
Branch: MAIN
Changes since 1.19: +9 -6 lines
Diff to previous 1.19 (colored)

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) - annotate - [select for diffs], Sat Jan 18 17:12:13 2003 UTC (21 years, 2 months ago) by christos
Branch: MAIN
Changes since 1.18: +2 -2 lines
Diff to previous 1.18 (colored)

oops, erased word accidentally.

Revision 1.18 / (download) - annotate - [select for diffs], Sat Jan 18 17:10:16 2003 UTC (21 years, 2 months ago) by christos
Branch: MAIN
Changes since 1.17: +4 -1 lines
Diff to previous 1.17 (colored)

avoid TMP_MAX redefinition

Revision 1.13.8.2 / (download) - annotate - [select for diffs], Tue Dec 10 06:42:45 2002 UTC (21 years, 4 months ago) by thorpej
Branch: nathanw_sa
CVS Tags: nathanw_sa_end
Changes since 1.13.8.1: +19 -7 lines
Diff to previous 1.13.8.1 (colored) to branchpoint 1.13 (colored) next main 1.14 (colored)

Sync with HEAD.

Revision 1.17 / (download) - annotate - [select for diffs], Mon Nov 18 13:39:33 2002 UTC (21 years, 4 months ago) by kleink
Branch: MAIN
CVS Tags: nathanw_sa_before_merge, nathanw_sa_base, fvdl_fs64_base
Changes since 1.16: +19 -7 lines
Diff to previous 1.16 (colored)

Update for 1003.1-2001 base and XSI changes.

Revision 1.13.8.1 / (download) - annotate - [select for diffs], Tue Aug 13 00:59:15 2002 UTC (21 years, 8 months ago) by nathanw
Branch: nathanw_sa
Changes since 1.13: +2 -2 lines
Diff to previous 1.13 (colored)

Catch up to -current.

Revision 1.16 / (download) - annotate - [select for diffs], Sun Aug 4 18:06:54 2002 UTC (21 years, 8 months ago) by soren
Branch: MAIN
Changes since 1.15: +3 -0 lines
Diff to previous 1.15 (colored)

Back out previous - I was confused.

Revision 1.15 / (download) - annotate - [select for diffs], Sun Aug 4 05:41:58 2002 UTC (21 years, 8 months ago) by soren
Branch: MAIN
Changes since 1.14: +1 -4 lines
Diff to previous 1.14 (colored)

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) - annotate - [select for diffs], Sun Aug 4 05:22:34 2002 UTC (21 years, 8 months ago) by soren
Branch: MAIN
Changes since 1.13: +2 -2 lines
Diff to previous 1.13 (colored)

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) - annotate - [select for diffs], Mon Dec 27 18:29:21 1999 UTC (24 years, 3 months ago) by wrstuden
Branch: wrstuden-devbsize
Changes since 1.12: +2 -1 lines
Diff to previous 1.12 (colored) next main 1.13 (colored)

Pull up to last week's -current.

Revision 1.13 / (download) - annotate - [select for diffs], Mon Sep 27 16:24:39 1999 UTC (24 years, 6 months ago) by kleink
Branch: 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
Changes since 1.12: +2 -1 lines
Diff to previous 1.12 (colored)

1003.1c: add {LOGIN_NAME_MAX}.

Revision 1.12 / (download) - annotate - [select for diffs], Mon Sep 6 22:20:50 1999 UTC (24 years, 7 months ago) by kleink
Branch: MAIN
Branch point for: wrstuden-devbsize
Changes since 1.11: +2 -2 lines
Diff to previous 1.11 (colored)

Bump NL_TEXTMAX to 2048 (== _POSIX2_LINE_MAX, which is the minimum value
required by XSH5.)

Revision 1.11 / (download) - annotate - [select for diffs], Mon Aug 3 14:32:04 1998 UTC (25 years, 8 months ago) by kleink
Branch: 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
Changes since 1.10: +3 -1 lines
Diff to previous 1.10 (colored)

Per XSH5, define _XOPEN_IOV_MAX.

Revision 1.10 / (download) - annotate - [select for diffs], Wed Jul 8 19:51:25 1998 UTC (25 years, 9 months ago) by kleink
Branch: MAIN
Changes since 1.9: +7 -4 lines
Diff to previous 1.9 (colored)

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) - annotate - [select for diffs], Mon Feb 2 21:07:27 1998 UTC (26 years, 2 months ago) by perry
Branch: MAIN
Changes since 1.8: +8 -8 lines
Diff to previous 1.8 (colored)

merge lite-2

Revision 1.1.1.2 / (download) - annotate - [select for diffs] (vendor branch), Mon Feb 2 07:22:57 1998 UTC (26 years, 2 months ago) by perry
Branch: WFJ-920714, CSRG
CVS Tags: lite-2
Changes since 1.1.1.1: +6 -3 lines
Diff to previous 1.1.1.1 (colored)

import lite-2

Revision 1.8 / (download) - annotate - [select for diffs], Mon Oct 21 05:10:50 1996 UTC (27 years, 5 months ago) by jtc
Branch: 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
Changes since 1.7: +2 -2 lines
Diff to previous 1.7 (colored)

Fix typo: _POSIX_SSIZE_MAX was set to wrong value

Revision 1.7 / (download) - annotate - [select for diffs], Wed Oct 26 00:56:00 1994 UTC (29 years, 5 months ago) by cgd
Branch: 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
Changes since 1.6: +3 -2 lines
Diff to previous 1.6 (colored)

new RCS ID format.

Revision 1.6 / (download) - annotate - [select for diffs], Wed Oct 5 17:24:47 1994 UTC (29 years, 6 months ago) by jtc
Branch: MAIN
Changes since 1.5: +13 -2 lines
Diff to previous 1.5 (colored)

Add constants required by XPG3

Revision 1.5 / (download) - annotate - [select for diffs], Tue Oct 12 21:56:55 1993 UTC (30 years, 6 months ago) by jtc
Branch: 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
Changes since 1.4: +1 -2 lines
Diff to previous 1.4 (colored)

POSIX2_VERSION macro is supposed to live in <unistd.h>

Revision 1.4 / (download) - annotate - [select for diffs], Fri Sep 24 18:13:15 1993 UTC (30 years, 6 months ago) by jtc
Branch: MAIN
Changes since 1.3: +7 -2 lines
Diff to previous 1.3 (colored)

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) - annotate - [select for diffs], Tue Sep 21 21:55:40 1993 UTC (30 years, 6 months ago) by jtc
Branch: MAIN
Changes since 1.2: +3 -2 lines
Diff to previous 1.2 (colored)

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) - annotate - [select for diffs], Sun Aug 1 18:44:50 1993 UTC (30 years, 8 months ago) by mycroft
Branch: MAIN
Changes since 1.1: +2 -1 lines
Diff to previous 1.1 (colored)

Add RCS identifiers.

Revision 1.1.1.1 / (download) - annotate - [select for diffs] (vendor branch), Sun Mar 21 09:45:37 1993 UTC (31 years ago) by cgd
Branch: 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
Changes since 1.1: +0 -0 lines
Diff to previous 1.1 (colored)

initial import of 386bsd-0.1 sources

Revision 1.1 / (download) - annotate - [select for diffs], Sun Mar 21 09:45:37 1993 UTC (31 years ago) by cgd
Branch: MAIN

Initial revision

This form allows you to request diff's between any two revisions of a file. You may select a symbolic revision name using the selection box or you may type in a numeric name using the type-in text box.




CVSweb <webmaster@jp.NetBSD.org>