The NetBSD Project

CVS log for src/lib/libc/include/namespace.h

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

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.203 / (download) - annotate - [select for diffs], Tue May 31 13:42:59 2022 UTC (21 months, 4 weeks ago) by riastradh
Branch: MAIN
CVS Tags: netbsd-10-base, 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.202: +2 -1 lines
Diff to previous 1.202 (colored) to selected 1.13 (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.202 / (download) - annotate - [select for diffs], Sat Sep 11 20:28:03 2021 UTC (2 years, 6 months ago) by andvar
Branch: MAIN
Changes since 1.201: +2 -2 lines
Diff to previous 1.201 (colored) to selected 1.13 (colored)

Add missing double p and d for stopped and overriden accordingly.
Fix few more typos along the way, mainly in copy-pasted comments.

Revision 1.201 / (download) - annotate - [select for diffs], Sun Jul 4 16:18:50 2021 UTC (2 years, 8 months ago) by rillig
Branch: MAIN
Changes since 1.200: +1 -3 lines
Diff to previous 1.200 (colored) to selected 1.13 (colored)

libc: remove special handling for lint

In namespace.h 1.102 from 2005-07-16, the #ifndef was added to fix the
broken lint2 pass.  Somewhere between 2005 and now, lint has been
changed so that it does not need this workaround anymore.

After usr.bin/xlint/lint1/tree.c 1.303 from 2021-06-30, the #ifndef in
namespace.h caused the only warning about an implicit function
declaration in the whole NetBSD tree, in lib/libc/gen/sysconf.c:149,
where _getpagesize was not defined, but only getpagesize.

Revision 1.200 / (download) - annotate - [select for diffs], Tue Sep 22 21:38:50 2020 UTC (3 years, 6 months ago) by nia
Branch: MAIN
CVS Tags: cjep_sun2x-base1, cjep_sun2x-base, cjep_sun2x, cjep_staticlib_x-base1, cjep_staticlib_x-base, cjep_staticlib_x
Changes since 1.199: +1 -2 lines
Diff to previous 1.199 (colored) to selected 1.13 (colored)

remove getentropy bits

Revision 1.199 / (download) - annotate - [select for diffs], Wed May 6 16:17:36 2020 UTC (3 years, 10 months ago) by nia
Branch: MAIN
Changes since 1.198: +2 -1 lines
Diff to previous 1.198 (colored) to selected 1.13 (colored)

Add getentropy() to libc - a simple wrapper to access the kernel CSPRNG.

Posted to tech-userlevel@ a week ago and reviewed by riastradh@.

GETENTROPY(3)		   Library Functions Manual		 GETENTROPY(3)

NAME
     getentropy - fill a buffer with high quality random data

LIBRARY
     Standard C Library (libc, -lc)

SYNOPSIS
     #include <unistd.h>

     int
     getentropy(void *buf, size_t buflen);

DESCRIPTION
     The getentropy() function fills a buffer with high quality random data,
     suitable for seeding cryptographically secure psuedorandom number
     generators.

     getentropy() is only intended for seeding random number generators and is
     not intended for use by regular code which simply needs secure random
     data.  For this purpose, please use arc4random(3).

     The maximum value for buflen is 256 bytes.

IMPLEMENTATION NOTES
     getentropy() reads from the sysctl(7) variable kern.arandom.

RETURN VALUES
     The getentropy() function returns 0 on success, and -1 if an error
     occurred.

ERRORS
     getentropy() will succeed unless:

     [EFAULT]		The buf argument points to an invalid memory address.

     [EIO]		Too many bytes were requested.

SEE ALSO
     arc4random(3), rnd(4)

STANDARDS
     The getentropy() function is non-standard.

HISTORY
     The getentropy() function first appeared in OpenBSD 5.6, then in
     FreeBSD 12.0, and NetBSD 10.

Revision 1.196.4.2 / (download) - annotate - [select for diffs], Tue Apr 21 18:41:59 2020 UTC (3 years, 11 months ago) by martin
Branch: phil-wifi
Changes since 1.196.4.1: +1 -0 lines
Diff to previous 1.196.4.1 (colored) to branchpoint 1.196 (colored) next main 1.197 (colored) to selected 1.13 (colored)

Sync with HEAD

Revision 1.198 / (download) - annotate - [select for diffs], Sat Apr 18 23:55:50 2020 UTC (3 years, 11 months ago) by thorpej
Branch: MAIN
CVS Tags: phil-wifi-20200421
Changes since 1.197: +2 -1 lines
Diff to previous 1.197 (colored) to selected 1.13 (colored)

Rename "syscall" to "_syscall" and provide "syscall" as a weak alias.

Revision 1.196.4.1 / (download) - annotate - [select for diffs], Mon Apr 13 08:03:10 2020 UTC (3 years, 11 months ago) by martin
Branch: phil-wifi
Changes since 1.196: +1 -4 lines
Diff to previous 1.196 (colored) to selected 1.13 (colored)

Mostly merge changes from HEAD upto 20200411

Revision 1.197 / (download) - annotate - [select for diffs], Sun Sep 22 22:59:38 2019 UTC (4 years, 6 months ago) by christos
Branch: MAIN
CVS Tags: phil-wifi-20200411, phil-wifi-20200406, phil-wifi-20191119, is-mlppp-base, is-mlppp
Changes since 1.196: +1 -4 lines
Diff to previous 1.196 (colored) to selected 1.13 (colored)

Add a new member to struct vfsstat and grow the unused members
The new member is caled f_mntfromlabel and it is the dkw_wname
of the corresponding wedge. This is now used by df -W to display
the mountpoint name as NAME=

Revision 1.196 / (download) - annotate - [select for diffs], Wed Jan 17 01:24:29 2018 UTC (6 years, 2 months ago) by kamil
Branch: MAIN
CVS Tags: phil-wifi-base, phil-wifi-20190609, 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, 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
Branch point for: phil-wifi
Changes since 1.195: +1 -8 lines
Diff to previous 1.195 (colored) to selected 1.13 (colored)

Revert to commits as they broke few rump tests

"Include namespace.h in a few of libc source files
[...]
    This change finishes elimination of usage of the global name of the
    following symbols:
      - close -> _close
      - execve -> _execve
      - fcntl -> _fcntl
      - setcontext -> _setcontext
      - wait6 -> _wait6
      - write -> _write
      - writev -> _writev"

"Register more syscalls in namespace.h (of libc)

    Add weak symbols for:
     - fcntl
     - close
     - execve
     - setcontext
     - wait6
     - write
     - writev"

These changes broke:

    fs/nfs/t_rquotad:get_nfs_be_1_both
    fs/nfs/t_rquotad:get_nfs_be_1_group
    fs/nfs/t_rquotad:get_nfs_be_1_user
    fs/nfs/t_rquotad:get_nfs_le_1_both
    fs/nfs/t_rquotad:get_nfs_le_1_group
    fs/nfs/t_rquotad:get_nfs_le_1_user
    lib/librumphijack/t_config:fdoff
    lib/librumphijack/t_tcpip:http
    lib/librumphijack/t_tcpip:nfs
    lib/librumphijack/t_vfs:cpcopy
    lib/librumphijack/t_vfs:mv_x
    lib/librumphijack/t_vfs:paxcopy
    net/net/t_forwarding:ipforwarding_fastforward_v4
    net/net/t_forwarding:ipforwarding_fastforward_v6
    net/net/t_forwarding:ipforwarding_fragment_v4
    net/net/t_forwarding:ipforwarding_misc
    net/net/t_mtudisc6:mtudisc6_basic

This revert fixes the failures, except lib/librumphijack/t_vfs.

The original changes were added in order to facilitate a usage of
sanitizers against programs linked with NetBSD's libc. It is no longer
needed, so abandon these changes.

Sponsored by <The NetBSD Foundation>

Revision 1.195 / (download) - annotate - [select for diffs], Sun Jan 7 21:19:35 2018 UTC (6 years, 2 months ago) by kamil
Branch: MAIN
Changes since 1.194: +1 -2 lines
Diff to previous 1.194 (colored) to selected 1.13 (colored)

Revert asctime() namespacing

asctime() is optionally a cancellation point in the POSIX spec.
It's not true for NetBSD.

Requested by <joerg>

Revision 1.194 / (download) - annotate - [select for diffs], Sun Jan 7 15:28:33 2018 UTC (6 years, 2 months ago) by kamil
Branch: MAIN
Changes since 1.193: +0 -1 lines
Diff to previous 1.193 (colored) to selected 1.13 (colored)

Revert namespacing of atoi(3)

Sanitizers can handle recursive interceptions in some / most cases, if they
will cause damage the problem will be not workaroundable without libc
changes - I will be back to it.

Keep namespace of asctime() as this can be a cancellation point according
to POSIX. Right now it's not implemented on NetBSD. Defer it for later.

Keep weak symbols and namespace for wait6(2) as this could be a
cancellation point as well. Defer this for later.

Sanitizers's [recursive] interceptors are a hack and moving one way or
another can cause new sets of problems. Recursive ones can be useful and
cause problems (on Linux there are known with with signal handlers).

Sponsored by <The NetBSD Foundation>

Revision 1.193 / (download) - annotate - [select for diffs], Fri Jan 5 20:30:51 2018 UTC (6 years, 2 months ago) by kamil
Branch: MAIN
Changes since 1.192: +2 -1 lines
Diff to previous 1.192 (colored) to selected 1.13 (colored)

Register new weak symbol in libc for internal usage: atoi

The NetBSD Standard C Library uses internally some of its functions with
a mangled symbol name, usually "_symbol". The internal functions shall not
use the global (public) symbols.

Add atoi to namespace.h.

Register a new __weak_alias() entry for atoi() in atoi.c.

atoi() is used internally in getrpcent(), rresvport_af(), ftok(), err(),
__llvm_profile_write_file(), llvm_gcda_start_file(), citrus_iconv_open(),
getprotoent_r(), __rpc_uaddr2taddr_af(), __res_nopt_rdata() and
servent_parseline().

This revision switches the internal usage to the internal symbol.

Sponsored by <The NetBSD Foundation>

Revision 1.192 / (download) - annotate - [select for diffs], Fri Jan 5 20:01:31 2018 UTC (6 years, 2 months ago) by kamil
Branch: MAIN
Changes since 1.191: +2 -1 lines
Diff to previous 1.191 (colored) to selected 1.13 (colored)

Register new weak symbol in libc for internal usage: asctime

The NetBSD Standard C Library uses internally some of its functions with
a mangled symbol name, usually "_symbol". The internal functions shall not
use the global (public) symbols.

Add asctime to namespace.h.

Register a new __weak_alias() entry for asctime() in asctime.c.

acstime() is used internally in ctime and __ctime50. This revision switches
the internal usage to the internal symbol.

Sponsored by <The NetBSD Foundation>

Revision 1.191 / (download) - annotate - [select for diffs], Fri Jan 5 19:29:44 2018 UTC (6 years, 2 months ago) by kamil
Branch: MAIN
Changes since 1.190: +2 -1 lines
Diff to previous 1.190 (colored) to selected 1.13 (colored)

Register dl_iterate_phdr in the libc's namespace.h

The NetBSD Standard C Library uses internally some of its functions with
a mangled symbol name, usually "_symbol". The internal functions shall not
use the global (public) symbols.

Stop using the public global name of dl_iterate_phdr in tls/tls.c:
__libc_static_tls_setup().

Follow the approach with other dlopen(3)-like functions with the
namespace.h in the dl_iterate_phdr() case. Use internally a weak symbol:
__dl_iterate_phdr instead of dl_iterate_phdr.

Sponsored by <The NetBSD Foundation>

Revision 1.190 / (download) - annotate - [select for diffs], Fri Jan 5 18:57:06 2018 UTC (6 years, 2 months ago) by kamil
Branch: MAIN
Changes since 1.189: +8 -1 lines
Diff to previous 1.189 (colored) to selected 1.13 (colored)

Register more syscalls in namespace.h (of libc)

Add weak symbols for:
 - fcntl
 - close
 - execve
 - setcontext
 - wait6
 - write
 - writev

These syscalls are already marked as WEAKASM, generating weak references.

Sponsored by <The NetBSD Foundation>

Revision 1.189 / (download) - annotate - [select for diffs], Thu Nov 30 05:47:24 2017 UTC (6 years, 3 months ago) by riastradh
Branch: MAIN
Changes since 1.188: +20 -1 lines
Diff to previous 1.188 (colored) to selected 1.13 (colored)

Import SHA-3 code into libc and libkern.

No new public symbols in libc, but publishing the symbols is a simple
matter if/when we decide to do so.

Proposed on tech-kern and tech-userlevel with no objections:

https://mail-index.NetBSD.org/tech-kern/2017/11/11/msg022581.html
https://mail-index.NetBSD.org/tech-userlevel/2017/11/11/msg010968.html

Revision 1.188 / (download) - annotate - [select for diffs], Sun Oct 22 01:57:33 2017 UTC (6 years, 5 months ago) by riastradh
Branch: MAIN
Changes since 1.187: +3 -1 lines
Diff to previous 1.187 (colored) to selected 1.13 (colored)

xref libc/README

Revision 1.187 / (download) - annotate - [select for diffs], Sun Oct 22 00:20:50 2017 UTC (6 years, 5 months ago) by christos
Branch: MAIN
Changes since 1.186: +11 -1 lines
Diff to previous 1.186 (colored) to selected 1.13 (colored)

Add an explanation of how namespace.h works.

Revision 1.185.2.1 / (download) - annotate - [select for diffs], Fri Apr 21 16:53:09 2017 UTC (6 years, 11 months ago) by bouyer
Branch: bouyer-socketcan
Changes since 1.185: +2 -1 lines
Diff to previous 1.185 (colored) next main 1.186 (colored) to selected 1.13 (colored)

Sync with HEAD

Revision 1.180.2.2 / (download) - annotate - [select for diffs], Mon Mar 20 06:56:57 2017 UTC (7 years ago) by pgoyette
Branch: pgoyette-localcount
Changes since 1.180.2.1: +6 -3 lines
Diff to previous 1.180.2.1 (colored) to branchpoint 1.180 (colored) next main 1.181 (colored) to selected 1.13 (colored)

Sync with HEAD

Revision 1.186 / (download) - annotate - [select for diffs], Wed Feb 8 17:30:27 2017 UTC (7 years, 1 month ago) by maya
Branch: MAIN
CVS Tags: prg-localcount2-base3, prg-localcount2-base2, prg-localcount2-base1, prg-localcount2-base, prg-localcount2, pgoyette-localcount-20170426, pgoyette-localcount-20170320, perseant-stdc-iso10646-base, perseant-stdc-iso10646, 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, bouyer-socketcan-base1
Changes since 1.185: +2 -1 lines
Diff to previous 1.185 (colored) to selected 1.13 (colored)

Make paccept a weak symbol in preparation for using it in another function

Revision 1.185 / (download) - annotate - [select for diffs], Fri Jan 13 14:41:27 2017 UTC (7 years, 2 months ago) by christos
Branch: MAIN
CVS Tags: bouyer-socketcan-base
Branch point for: bouyer-socketcan
Changes since 1.184: +3 -3 lines
Diff to previous 1.184 (colored) to selected 1.13 (colored)

allow overriding snprintf/vsnprintf

Revision 1.184 / (download) - annotate - [select for diffs], Thu Jan 12 18:16:52 2017 UTC (7 years, 2 months ago) by christos
Branch: MAIN
Changes since 1.183: +4 -3 lines
Diff to previous 1.183 (colored) to selected 1.13 (colored)

undo SSP damage from -Wsystem-headers

Revision 1.183 / (download) - annotate - [select for diffs], Thu Jan 12 00:35:38 2017 UTC (7 years, 2 months ago) by christos
Branch: MAIN
Changes since 1.182: +2 -1 lines
Diff to previous 1.182 (colored) to selected 1.13 (colored)

Add strerror_ss_r to be used by syslog_ss

Revision 1.180.2.1 / (download) - annotate - [select for diffs], Fri Nov 4 14:48:52 2016 UTC (7 years, 4 months ago) by pgoyette
Branch: pgoyette-localcount
Changes since 1.180: +2 -1 lines
Diff to previous 1.180 (colored) to selected 1.13 (colored)

Sync with HEAD

Revision 1.182 / (download) - annotate - [select for diffs], Sat Sep 24 21:31:25 2016 UTC (7 years, 6 months ago) by christos
Branch: MAIN
CVS Tags: pgoyette-localcount-20170107, pgoyette-localcount-20161104
Changes since 1.181: +1 -2 lines
Diff to previous 1.181 (colored) to selected 1.13 (colored)

remove mpool_getf

Revision 1.181 / (download) - annotate - [select for diffs], Sat Sep 24 20:12:07 2016 UTC (7 years, 6 months ago) by christos
Branch: MAIN
Changes since 1.180: +3 -1 lines
Diff to previous 1.180 (colored) to selected 1.13 (colored)

bump for the flags version of db routines

Revision 1.180 / (download) - annotate - [select for diffs], Sun Apr 3 00:19:42 2016 UTC (7 years, 11 months ago) by christos
Branch: MAIN
CVS Tags: pgoyette-localcount-base, pgoyette-localcount-20160806, pgoyette-localcount-20160726, localcount-20160914
Branch point for: pgoyette-localcount
Changes since 1.179: +2 -1 lines
Diff to previous 1.179 (colored) to selected 1.13 (colored)

userland bits for wait6/waitid.

Revision 1.179 / (download) - annotate - [select for diffs], Thu Sep 10 14:05:06 2015 UTC (8 years, 6 months ago) by christos
Branch: MAIN
Changes since 1.178: +2 -1 lines
Diff to previous 1.178 (colored) to selected 1.13 (colored)

namespace protect allocaddrinfo

Revision 1.174.2.2 / (download) - annotate - [select for diffs], Sat May 16 17:58:46 2015 UTC (8 years, 10 months ago) by snj
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, 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
Changes since 1.174.2.1: +5 -1 lines
Diff to previous 1.174.2.1 (colored) to branchpoint 1.174 (colored) next main 1.175 (colored) to selected 1.13 (colored)

Pull up following revision(s) (requested by christos in ticket #781):
	common/lib/libc/stdlib/strtoi.c: revision 1.2
	common/lib/libc/stdlib/strtou.c: revision 1.2
	distrib/sets/lists/debug/mi: revision 1.113
	distrib/sets/lists/tests/mi: revision 1.617
	lib/libc/include/namespace.h: revision 1.178
	lib/libc/stdlib/Makefile.inc: revision 1.90 via patch
	lib/libc/stdlib/strtoi.3: revisions 1.1, 1.2
	lib/libc/stdlib/strtol.3: revision 1.32
	lib/libc/stdlib/strtou.3: revisions 1.1, 1.2
	lib/libc/stdlib/strtoul.3: revisions 1.30, 1.31
	tests/lib/libc/stdlib/Makefile: revision 1.25
	tests/lib/libc/stdlib/t_strtoi.c: revision 1.1
- new test for strtoi
- namespace protection for strto{i,u}
- separate manpages for strto{i,u} from the ones for strto{u,}l
From: Kamil Rytarowski
--
Sort ERRORS and SEE ALSO.
--
Sort ERRORS and SEE ALSO.
--
Sort SEE ALSO.

Revision 1.178 / (download) - annotate - [select for diffs], Fri May 1 14:17:56 2015 UTC (8 years, 10 months ago) by christos
Branch: MAIN
Changes since 1.177: +5 -1 lines
Diff to previous 1.177 (colored) to selected 1.13 (colored)

- new test for strtoi
- namespace protection for strto{i,u}
- separate manpages for strto{i,u} from the ones for strto{u,}l
From: Kamil Rytarowski

Revision 1.177 / (download) - annotate - [select for diffs], Tue Feb 17 20:29:21 2015 UTC (9 years, 1 month ago) by joerg
Branch: MAIN
Changes since 1.176: +2 -1 lines
Diff to previous 1.176 (colored) to selected 1.13 (colored)

Introduce reallocarr(3) for easy (re)allocation of memory with overflow
checks. Compared to OpenBSD's reallocarray, makes it easier to avoid memory
leaks on allocation failures and it doesn't depend on malloc(0) != NULL
for correct error checking. Compared to plain realloc, it also avoids
the problem of intermediate integer overflows. The trade-off is the use
of void * to side step C type system with regard to generic pointer to
pointer.

Revision 1.174.2.1 / (download) - annotate - [select for diffs], Sun Feb 8 22:05:55 2015 UTC (9 years, 1 month ago) by snj
Branch: netbsd-7
Changes since 1.174: +3 -1 lines
Diff to previous 1.174 (colored) to selected 1.13 (colored)

Pull up following revision(s) (requested by christos in ticket #472):
	lib/libc/include/namespace.h: revision 1.175
	lib/libc/sys/Makefile.inc: revision 1.225, 1.227
	lib/libc/sys/fdiscard.2: revision 1.3
	lib/libc/sys/fdiscard.c: revision 1.1
	lib/libc/sys/posix_fallocate.c: revision 1.1
Fix argument paddiing for posix_fallocate and fdiscard with gcc 1.x
--
PR/49617: Kirk Russell: posix_fallocate() should be returning an error on
failure, without setting errno, so make it PSEUDO_NOERROR, by adding a new
category GLUENOERR.
--
PR/49617: Kirk Russell: Describe the posix_fallocate return values correctly.

Revision 1.176 / (download) - annotate - [select for diffs], Fri Sep 26 19:28:03 2014 UTC (9 years, 6 months ago) by christos
Branch: MAIN
Changes since 1.175: +3 -1 lines
Diff to previous 1.175 (colored) to selected 1.13 (colored)

add execvpe, execlpe (reviewed by phone)

Revision 1.175 / (download) - annotate - [select for diffs], Thu Sep 25 15:08:29 2014 UTC (9 years, 6 months ago) by manu
Branch: MAIN
Changes since 1.174: +3 -1 lines
Diff to previous 1.174 (colored) to selected 1.13 (colored)

Fix argument paddiing for posix_fallocate and fdiscard with gcc 1.x

Revision 1.156.2.2 / (download) - annotate - [select for diffs], Wed Aug 20 00:02:14 2014 UTC (9 years, 7 months ago) by tls
Branch: tls-maxphys
Changes since 1.156.2.1: +13 -0 lines
Diff to previous 1.156.2.1 (colored) to branchpoint 1.156 (colored) next main 1.157 (colored) to selected 1.13 (colored)

Rebase to HEAD as of a few days ago.

Revision 1.173.2.1 / (download) - annotate - [select for diffs], Sun Aug 10 06:51:50 2014 UTC (9 years, 7 months ago) by tls
Branch: tls-earlyentropy
Changes since 1.173: +3 -1 lines
Diff to previous 1.173 (colored) next main 1.174 (colored) to selected 1.13 (colored)

Rebase.

Revision 1.174 / (download) - annotate - [select for diffs], Fri Jun 13 15:45:05 2014 UTC (9 years, 9 months ago) by joerg
Branch: MAIN
CVS Tags: tls-maxphys-base, tls-earlyentropy-base, netbsd-7-base
Branch point for: netbsd-7
Changes since 1.173: +3 -1 lines
Diff to previous 1.173 (colored) to selected 1.13 (colored)

Add asysctl(3) and asysctlbyname(3) wrappers for the common idiom of
fetching dynamically sized data via sysctl.

Revision 1.149.2.3 / (download) - annotate - [select for diffs], Thu May 22 11:36:52 2014 UTC (9 years, 10 months ago) by yamt
Branch: yamt-pagecache
Changes since 1.149.2.2: +63 -2 lines
Diff to previous 1.149.2.2 (colored) to branchpoint 1.149 (colored) next main 1.150 (colored) to selected 1.13 (colored)

sync with head.

for a reference, the tree before this commit was tagged
as yamt-pagecache-tag8.

this commit was splitted into small chunks to avoid
a limitation of cvs.  ("Protocol error: too many arguments")

Revision 1.173 / (download) - annotate - [select for diffs], Thu Jan 16 21:02:30 2014 UTC (10 years, 2 months ago) by christos
Branch: MAIN
CVS Tags: yamt-pagecache-base9, riastradh-xf86-video-intel-2-7-1-pre-2-21-15, riastradh-drm2-base3
Branch point for: tls-earlyentropy
Changes since 1.172: +1 -5 lines
Diff to previous 1.172 (colored) to selected 1.13 (colored)

remove dups

Revision 1.172 / (download) - annotate - [select for diffs], Thu Jan 16 20:31:18 2014 UTC (10 years, 2 months ago) by christos
Branch: MAIN
Changes since 1.171: +5 -1 lines
Diff to previous 1.171 (colored) to selected 1.13 (colored)

namespace protection for the new err functions

Revision 1.171 / (download) - annotate - [select for diffs], Thu Jan 16 19:16:42 2014 UTC (10 years, 2 months ago) by joerg
Branch: MAIN
Changes since 1.170: +5 -1 lines
Diff to previous 1.170 (colored) to selected 1.13 (colored)

Fix (v)errc/(v)warnc.

Revision 1.170 / (download) - annotate - [select for diffs], Thu Dec 5 21:17:23 2013 UTC (10 years, 3 months ago) by joerg
Branch: MAIN
Changes since 1.169: +2 -1 lines
Diff to previous 1.169 (colored) to selected 1.13 (colored)

Add cdbr_open_mem.

Revision 1.169 / (download) - annotate - [select for diffs], Wed Aug 28 17:47:07 2013 UTC (10 years, 7 months ago) by riastradh
Branch: MAIN
Changes since 1.168: +3 -1 lines
Diff to previous 1.168 (colored) to selected 1.13 (colored)

Publish explicit_memset and consttime_memequal in userland libc.

Remove the double-underscore from the userland versions, and do the
weak alias dance instead, now that these are public parts of libc.

As discussed on tech-userlevel:

https://mail-index.netbsd.org/tech-userlevel/2013/06/24/msg007843.html
(option 3)

Revision 1.168 / (download) - annotate - [select for diffs], Mon Aug 19 13:03:12 2013 UTC (10 years, 7 months ago) by joerg
Branch: MAIN
Changes since 1.167: +2 -1 lines
Diff to previous 1.167 (colored) to selected 1.13 (colored)

Add strerror_l.

Revision 1.167 / (download) - annotate - [select for diffs], Mon Aug 19 08:03:33 2013 UTC (10 years, 7 months ago) by joerg
Branch: MAIN
Changes since 1.166: +4 -1 lines
Diff to previous 1.166 (colored) to selected 1.13 (colored)

Add nl_langinfo_l, catopen_l and wcsftime_l.

Revision 1.156.2.1 / (download) - annotate - [select for diffs], Sun Jun 23 06:21:05 2013 UTC (10 years, 9 months ago) by tls
Branch: tls-maxphys
Changes since 1.156: +52 -2 lines
Diff to previous 1.156 (colored) to selected 1.13 (colored)

resync from head

Revision 1.166 / (download) - annotate - [select for diffs], Tue Apr 30 00:45:04 2013 UTC (10 years, 11 months ago) by joerg
Branch: MAIN
CVS Tags: riastradh-drm2-base2, riastradh-drm2-base1, riastradh-drm2-base, riastradh-drm2
Changes since 1.165: +4 -1 lines
Diff to previous 1.165 (colored) to selected 1.13 (colored)

Make that to process PATH_LOCALE the first time _find_category is
called. Use this to implement newlocale and provide duplocale/freelocale
as well. Based on patches by Takehiko Nozaki with simplications and fix
for the init order by myself.

Revision 1.165 / (download) - annotate - [select for diffs], Sun Apr 21 17:45:46 2013 UTC (10 years, 11 months ago) by joerg
Branch: MAIN
Changes since 1.164: +4 -1 lines
Diff to previous 1.164 (colored) to selected 1.13 (colored)

Store time-specific locale data directly in the locale.
Ad dstrftime_l, strftime_lz and strptime_l.

Revision 1.164 / (download) - annotate - [select for diffs], Fri Apr 19 23:32:16 2013 UTC (10 years, 11 months ago) by joerg
Branch: MAIN
Changes since 1.163: +11 -1 lines
Diff to previous 1.163 (colored) to selected 1.13 (colored)

Add scanf_l and wscanf_l families.

Revision 1.163 / (download) - annotate - [select for diffs], Fri Apr 19 23:28:47 2013 UTC (10 years, 11 months ago) by joerg
Branch: MAIN
Changes since 1.162: +3 -1 lines
Diff to previous 1.162 (colored) to selected 1.13 (colored)

Add dummy strcoll_l and strxfrm_l.

Revision 1.162 / (download) - annotate - [select for diffs], Fri Apr 19 15:22:24 2013 UTC (10 years, 11 months ago) by joerg
Branch: MAIN
Changes since 1.161: +21 -2 lines
Diff to previous 1.161 (colored) to selected 1.13 (colored)

Add explicit locale versions for the printf family. Replace asprintf,
snprintf and sprintf with simple wrappers around the corresponding
va_list functions to reduce code duplication.

Revision 1.161 / (download) - annotate - [select for diffs], Thu Apr 18 23:24:26 2013 UTC (10 years, 11 months ago) by joerg
Branch: MAIN
Changes since 1.160: +3 -1 lines
Diff to previous 1.160 (colored) to selected 1.13 (colored)

Add wcscoll_l, wcsxfrm_l, wcsncasecmp_l, wcscasecmp_l, btowc_l,
mbrlen_l, mbsinit_l, mbsrtowcs_l, wcrtomb_l, wcsrtombs_l and wctob_l.

Revision 1.160 / (download) - annotate - [select for diffs], Thu Apr 18 22:23:17 2013 UTC (10 years, 11 months ago) by joerg
Branch: MAIN
Changes since 1.159: +4 -1 lines
Diff to previous 1.159 (colored) to selected 1.13 (colored)

Add wcstof_l, wcstod_l and wcstold_l.

Revision 1.159 / (download) - annotate - [select for diffs], Thu Apr 18 21:54:11 2013 UTC (10 years, 11 months ago) by joerg
Branch: MAIN
Changes since 1.158: +4 -1 lines
Diff to previous 1.158 (colored) to selected 1.13 (colored)

Add strtof_l, strtod_l and strtold_l.

Revision 1.158 / (download) - annotate - [select for diffs], Tue Apr 16 21:44:07 2013 UTC (10 years, 11 months ago) by joerg
Branch: MAIN
Changes since 1.157: +5 -1 lines
Diff to previous 1.157 (colored) to selected 1.13 (colored)

Add strtol_l and friends. Switch _citrus_bcs_strtol to use plain
strtol_l unless in tools mode. Add note to retire the BCS code on the
next libc major bump.

Revision 1.157 / (download) - annotate - [select for diffs], Tue Apr 16 11:39:13 2013 UTC (10 years, 11 months ago) by joerg
Branch: MAIN
Changes since 1.156: +2 -1 lines
Diff to previous 1.156 (colored) to selected 1.13 (colored)

Add wcwidth_l, wcswidth_l and the wctype.h family of *_l functions.

Revision 1.149.2.2 / (download) - annotate - [select for diffs], Tue Oct 30 18:58:50 2012 UTC (11 years, 4 months ago) by yamt
Branch: yamt-pagecache
CVS Tags: yamt-pagecache-tag8
Changes since 1.149.2.1: +7 -1 lines
Diff to previous 1.149.2.1 (colored) to branchpoint 1.149 (colored) to selected 1.13 (colored)

sync with head

Revision 1.156 / (download) - annotate - [select for diffs], Mon Aug 20 21:38:10 2012 UTC (11 years, 7 months ago) by dsl
Branch: MAIN
CVS Tags: yamt-pagecache-base8, yamt-pagecache-base7, yamt-pagecache-base6, agc-symver-base, agc-symver
Branch point for: tls-maxphys
Changes since 1.155: +5 -1 lines
Diff to previous 1.155 (colored) to selected 1.13 (colored)

I'm fairly sure the libc rules require that arc4random_addrandom,
arc4random_buf, arc4random_stir and arc4random_uniform be weak.

Revision 1.155 / (download) - annotate - [select for diffs], Mon Jul 9 21:25:46 2012 UTC (11 years, 8 months ago) by rmind
Branch: MAIN
Changes since 1.154: +2 -1 lines
Diff to previous 1.154 (colored) to selected 1.13 (colored)

Add weak symbol for murmurhash2.

Revision 1.150.2.1 / (download) - annotate - [select for diffs], Sat Jun 23 22:54:55 2012 UTC (11 years, 9 months ago) by riz
Branch: netbsd-6
CVS Tags: 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, matt-nb6-plus-nbase, matt-nb6-plus-base, matt-nb6-plus
Changes since 1.150: +2 -1 lines
Diff to previous 1.150 (colored) next main 1.151 (colored) to selected 1.13 (colored)

Pull up following revision(s) (requested by joerg in ticket #328):
	lib/libc/gen/devname.c: revision 1.22
	distrib/sparc64/instfs/dot.profile: revision 1.7
	distrib/i386/cdroms/install.sh: revision 1.3
	tests/lib/libcurses/director/director.c: revision 1.10
	lib/libc/include/reentrant.h: revision 1.15
	distrib/amd64/cdroms/install.sh: revision 1.3
	tests/include/t_paths.c: revision 1.12
	share/man/man7/hier.7: revision 1.101
	etc/rc.d/sysdb: revision 1.24
	include/stdlib.h: revision 1.99
	tests/lib/libcurses/Makefile: revision 1.3
	distrib/sparc64/cdroms/installcd/install.sh: revision 1.3
	distrib/i386/cdroms/Makefile.cdrom: revision 1.27
	lib/libc/gen/ttyname.c: revision 1.25
	usr.bin/tic/Makefile: revision 1.2
	tools/compat/Makefile: revision 1.57
	lib/libterminfo/compile.c: revision 1.7
	lib/libc/gen/ttyname.c: revision 1.26
	lib/libterminfo/compile.c: revision 1.8
	tools/compat/Makefile: revision 1.59
	tools/compat/cdbw.h: revision 1.1
	distrib/i386/installimage/install.sh: revision 1.2
	lib/libc/include/namespace.h: revision 1.154
	usr.bin/tic/tic.c: revision 1.13
	usr.bin/tic/tic.c: revision 1.14
	usr.bin/tic/tic.c: revision 1.15
	distrib/sets/lists/base/mi: revision 1.996
	usr.bin/tic/tic.c: revision 1.16
	usr.sbin/dev_mkdb/dev_mkdb.8: revision 1.13
	usr.bin/tic/tic.c: revision 1.17
	usr.bin/tic/tic.c: revision 1.18
	tools/compat/cdbr.h: revision 1.1
	distrib/sparc64/instfs/list: revision 1.25
	usr.bin/tic/tic.c: revision 1.19
	lib/libc/cdb/cdbw.c: revision 1.4
	lib/libc/cdb/cdbw.3: revision 1.4
	lib/libc/cdb/cdbw.3: revision 1.5
	share/terminfo/Makefile: revision 1.3
	usr.sbin/dev_mkdb/dev_mkdb.c: revision 1.29
	usr.sbin/dev_mkdb/Makefile: revision 1.8
	lib/libc/gen/ttyname.3: revision 1.23
	lib/libc/gen/ttyname.3: revision 1.24
	lib/libc/cdb/cdbr.c: revision 1.3
	include/cdbw.h: revision 1.2
	distrib/sparc64/cdroms/installcd/Makefile: revision 1.15
	lib/libc/gen/devname.3: revision 1.12
	tools/compat/compat_defs.h: revision 1.85
	tools/compat/compat_defs.h: revision 1.86
	lib/libterminfo/term_private.h: revision 1.10
	lib/libterminfo/term.c: revision 1.14
	usr.bin/tic/tic.1: revision 1.10
	lib/libterminfo/term.c: revision 1.15
	lib/libterminfo/Makefile.hash: revision 1.5
	lib/libterminfo/term.c: revision 1.16
	distrib/amd64/installimage/install.sh: revision 1.2
	share/man/man5/rc.conf.5: revision 1.152
	distrib/sets/lists/tests/mi: revision 1.472
	distrib/amd64/cdroms/Makefile.cdrom: revision 1.7
	include/paths.h: revision 1.41
	bin/ps/ps.1: revision 1.101
	lib/libterminfo/terminfo.5.in: revision 1.16
	usr.bin/tic/tic.c: revision 1.20
	lib/libterminfo/terminfo.5.in: revision 1.17
Prefer __printflike.
Use queue(3)
Replace linear lookup with hash table, reducing runtime by 60%.
Use e* from util.h.
One more strdup -> estrdup.
Maintain nalias and nterm on the fly.
Add void for ttyslot prototype.
Use memcmp in place of strncmp, since length is known to no longer than
either of the arguments.
Fix a number of memory leaks. Keep final loop of the cleanup in tic(1)
under #ifdef __VALGRIND__ though.
Add __predict_true / __predict_false definitions.
Add a special seeder for cdbw_output that gives stable results.
Hook up cdbw(3) for the tool build.
Prototype for cdbw_stable_seeder.
Provide a usable thr_once for !_REENTRANT
Switch device database to cdb(5). Rework ttyname(3) and ttyname_r(3) to
depend on new devname_r(3) as heart. Add /dev/pts magic directly to
devname(3). While it can lead to returning non-existing paths, the
behavior is more consistent that way. Drop caching layer in devname(3),
it doesn't buy anything for the common case of having access to the
database. Teach devname(3) proper fallback behavior of scanning /dev.
Create both old-style and new-style database for now in /etc/rc.d/sysdb.
Switch terminfo(3) to cdb(5).
Fix typos.
Make Alan Barrett happy and add ().
Add cdbr(3) support to tools/compat.
Bump date for previous.
Relax consistency to make it possible to match valid entries.
Prefix devname's buffer with /dev/ as ttyname is supposed to return the
full path. Reported by Dave Huang.

Revision 1.154 / (download) - annotate - [select for diffs], Sun Jun 3 21:42:46 2012 UTC (11 years, 9 months ago) by joerg
Branch: MAIN
Changes since 1.153: +2 -1 lines
Diff to previous 1.153 (colored) to selected 1.13 (colored)

Switch device database to cdb(5). Rework ttyname(3) and ttyname_r(3) to
depend on new devname_r(3) as heart. Add /dev/pts magic directly to
devname(3). While it can lead to returning non-existing paths, the
behavior is more consistent that way. Drop caching layer in devname(3),
it doesn't buy anything for the common case of having access to the
database. Teach devname(3) proper fallback behavior of scanning /dev.
Create both old-style and new-style database for now in /etc/rc.d/sysdb.

Revision 1.149.2.1 / (download) - annotate - [select for diffs], Tue Apr 17 00:05:20 2012 UTC (11 years, 11 months ago) by yamt
Branch: yamt-pagecache
Changes since 1.149: +5 -1 lines
Diff to previous 1.149 (colored) to selected 1.13 (colored)

sync with head

Revision 1.153 / (download) - annotate - [select for diffs], Thu Apr 12 22:08:46 2012 UTC (11 years, 11 months ago) by christos
Branch: MAIN
CVS Tags: yamt-pagecache-base5, yamt-pagecache-base4
Changes since 1.152: +2 -1 lines
Diff to previous 1.152 (colored) to selected 1.13 (colored)

name protection for getpassfd

Revision 1.152 / (download) - annotate - [select for diffs], Thu Apr 12 19:36:19 2012 UTC (11 years, 11 months ago) by christos
Branch: MAIN
Changes since 1.151: +2 -1 lines
Diff to previous 1.151 (colored) to selected 1.13 (colored)

Add a new getpass implementation that does not mess with signals, and
include getpass_r

Revision 1.151 / (download) - annotate - [select for diffs], Fri Mar 2 17:27:49 2012 UTC (12 years ago) by christos
Branch: MAIN
Changes since 1.150: +2 -1 lines
Diff to previous 1.150 (colored) to selected 1.13 (colored)

PR/46111: Wolfgang Stukenbrock: Add yp_setbindtries(3) so that yp operations
don't hang forever if requested.

Revision 1.150 / (download) - annotate - [select for diffs], Wed Feb 15 15:49:46 2012 UTC (12 years, 1 month ago) by joerg
Branch: MAIN
CVS Tags: netbsd-6-base
Branch point for: netbsd-6
Changes since 1.149: +2 -1 lines
Diff to previous 1.149 (colored) to selected 1.13 (colored)

Make sure that membar_producer gets the proper namespace mangling for libc.

Revision 1.149 / (download) - annotate - [select for diffs], Mon Jul 4 07:54:38 2011 UTC (12 years, 8 months ago) by manu
Branch: MAIN
CVS Tags: yamt-pagecache-base3, yamt-pagecache-base2, yamt-pagecache-base
Branch point for: yamt-pagecache
Changes since 1.148: +2 -1 lines
Diff to previous 1.148 (colored) to selected 1.13 (colored)

Import xdr_sizeof() from FreeBSD

Revision 1.148 / (download) - annotate - [select for diffs], Sat Mar 26 19:51:42 2011 UTC (13 years ago) by christos
Branch: MAIN
CVS Tags: cherry-xenmp-base, cherry-xenmp
Changes since 1.147: +3 -1 lines
Diff to previous 1.147 (colored) to selected 1.13 (colored)

add fpgetprec/fpsetprec

Revision 1.147 / (download) - annotate - [select for diffs], Sat Mar 12 19:52:48 2011 UTC (13 years ago) by christos
Branch: MAIN
Changes since 1.146: +2 -8 lines
Diff to previous 1.146 (colored) to selected 1.13 (colored)

Fix various vis/unvis issues:
- no need for all the weak symbols
- define a new _VIS_END flag for UNVIS_END so that there are no collisions
  between and vis and unvis flags.
- add bound versions of the vis and unvis functions that take the length of
  the destination buffer. Unlike the OpenBSD ones they return -1 or NULL if
  the buffer is not large enough, instead of silently truncating.

Revision 1.146 / (download) - annotate - [select for diffs], Thu Dec 16 18:38:06 2010 UTC (13 years, 3 months ago) by christos
Branch: MAIN
CVS Tags: matt-mips64-premerge-20101231, bouyer-quota2-nbase, bouyer-quota2-base, bouyer-quota2
Changes since 1.145: +6 -1 lines
Diff to previous 1.145 (colored) to selected 1.13 (colored)

Provide a re-entrant and thread-safe set of timezone API's that
don't require locking and can operate on user-specified timezones
as opposed to having to alter the environment to change a timezone.
This work was presented to the tzcode folks and it was generally
accepted, but there seems to be a lot of inertia.

Revision 1.145 / (download) - annotate - [select for diffs], Wed Nov 17 13:19:32 2010 UTC (13 years, 4 months ago) by tron
Branch: MAIN
Changes since 1.144: +14 -1 lines
Diff to previous 1.144 (colored) to selected 1.13 (colored)

Provide proper namespace protection for rbtree(3) because it is now
used by "libc" internally.

Revision 1.144 / (download) - annotate - [select for diffs], Sat Nov 13 19:41:32 2010 UTC (13 years, 4 months ago) by christos
Branch: MAIN
Changes since 1.143: +2 -1 lines
Diff to previous 1.143 (colored) to selected 1.13 (colored)

forgot to commit this one for two months!
add vdprintf.

Revision 1.143 / (download) - annotate - [select for diffs], Mon Sep 6 17:49:56 2010 UTC (13 years, 6 months ago) by jakllsch
Branch: MAIN
Changes since 1.142: +2 -1 lines
Diff to previous 1.142 (colored) to selected 1.13 (colored)

New vdprintf needs "namespace protection".

Revision 1.142 / (download) - annotate - [select for diffs], Sun Apr 25 00:54:46 2010 UTC (13 years, 11 months ago) by joerg
Branch: MAIN
Changes since 1.141: +11 -1 lines
Diff to previous 1.141 (colored) to selected 1.13 (colored)

Add the constant database reader (cdbr(3)) and writer ((cdbw(3)).
They implement a space efficent write-once database with fast access
path. Switch the services(5) database to use cdb. The size of the
database file decreases from 2.1MB disk space to 307KB. Access
performance is about the same if setservent(0) is used and about an
order of magnitude faster otherwise. services_mkdb defaults to the new
format, but can optionally create the old db(3) format as well for
statically linked legacy applications.

Revision 1.133.6.1.2.1 / (download) - annotate - [select for diffs], Wed Apr 21 05:28:08 2010 UTC (13 years, 11 months ago) by matt
Branch: matt-nb5-mips64
CVS Tags: matt-nb5-mips64-premerge-20101231, matt-nb5-mips64-k15
Changes since 1.133.6.1: +1 -1 lines
Diff to previous 1.133.6.1 (colored) next main 1.134 (colored) to selected 1.13 (colored)

sync to netbsd-5

Revision 1.141 / (download) - annotate - [select for diffs], Fri Mar 19 18:11:30 2010 UTC (14 years ago) by joerg
Branch: MAIN
Changes since 1.140: +2 -1 lines
Diff to previous 1.140 (colored) to selected 1.13 (colored)

Namespace protection for mi_vector_hash.

Revision 1.140 / (download) - annotate - [select for diffs], Wed Dec 2 08:46:33 2009 UTC (14 years, 3 months ago) by roy
Branch: MAIN
CVS Tags: matt-premerge-20091211
Changes since 1.139: +2 -1 lines
Diff to previous 1.139 (colored) to selected 1.13 (colored)

Protect getline.

Revision 1.139 / (download) - annotate - [select for diffs], Tue Dec 1 00:52:13 2009 UTC (14 years, 3 months ago) by roy
Branch: MAIN
Changes since 1.138: +2 -1 lines
Diff to previous 1.138 (colored) to selected 1.13 (colored)

Protect getdelim when used internally.

Revision 1.125.6.1 / (download) - annotate - [select for diffs], Wed Jul 22 22:39:47 2009 UTC (14 years, 8 months ago) by snj
Branch: netbsd-4-0
Changes since 1.125: +9 -1 lines
Diff to previous 1.125 (colored) next main 1.126 (colored) to selected 1.13 (colored)

Apply patch (requested by joerg in ticket #1338):
- Add support for SHA224 to libc
- Fix Big Endian support in some cases
- Use libc support in libcrypto

Revision 1.125.2.1 / (download) - annotate - [select for diffs], Wed Jul 22 22:31:07 2009 UTC (14 years, 8 months ago) by snj
Branch: netbsd-4
Changes since 1.125: +9 -1 lines
Diff to previous 1.125 (colored) next main 1.126 (colored) to selected 1.13 (colored)

Apply patch (requested by joerg in ticket #1338):
- Add support for SHA224 to libc
- Fix Big Endian support in some cases
- Use libc support in libcrypto

Revision 1.133.4.1 / (download) - annotate - [select for diffs], Tue Jul 14 19:48:04 2009 UTC (14 years, 8 months ago) by snj
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, 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, matt-nb5-pq3-base, matt-nb5-pq3
Changes since 1.133: +9 -1 lines
Diff to previous 1.133 (colored) next main 1.134 (colored) to selected 1.13 (colored)

Pull up following revisions (requested by joerg in ticket #855):
	common/lib/libc/hash/sha2/sha2.c: revisions 1.8-1.18 via patch
	crypto/dist/openssl/crypto/evp/m_sha1.c: revisions 1.2-1.3 via patch
	distrib/sets/lists/base/md.amd64: revision 1.51 via patch
	distrib/sets/lists/base/md.sparc64: revision 1.46 via patch
	distrib/sets/lists/base/shl.mi: revision 1.474 via patch
	distrib/sets/lists/comp/mi: revision 1.1263 via patch
	lib/libc/shlib_version: patch
	lib/libc/hash/sha2/Makefile.inc: revision 1.4 via patch
	lib/libc/hash/sha2/sha2.3: revision 1.5 via patch
	lib/libc/hash/sha2/sha224hl.c: revision 1.1 via patch
	lib/libc/include/namespace.h: revision 1.138 via patch
	lib/libcrypto/libc-sha256.c: revision 1.1 via patch
	lib/libcrypto/libc-sha512.c: revision 1.1 via patch
	lib/libcrypto/sha.inc: revision 1.10 via patch
	lib/libcrypto/shlib_version: patch
	sys/sys/sha2.h: revision 1.3 via patch
Add SHA224 implementation to libc.
Make libcrypto use the SHA2 implementation of libc.
Bump minor versions of libc and libcrypto.

Revision 1.133.6.1 / (download) - annotate - [select for diffs], Tue Jul 14 19:35:23 2009 UTC (14 years, 8 months ago) by snj
Branch: netbsd-5-0
CVS Tags: netbsd-5-0-2-RELEASE, netbsd-5-0-1-RELEASE, matt-nb5-mips64-u2-k2-k4-k7-k8-k9, matt-nb5-mips64-u1-k1-k5, matt-nb5-mips64-premerge-20091211, matt-nb4-mips64-k7-u2a-k9b
Branch point for: matt-nb5-mips64
Changes since 1.133: +9 -1 lines
Diff to previous 1.133 (colored) next main 1.134 (colored) to selected 1.13 (colored)

Pull up following revisions (requested by joerg in ticket #855):
	common/lib/libc/hash/sha2/sha2.c: revisions 1.8-1.18 via patch
	crypto/dist/openssl/crypto/evp/m_sha1.c: revisions 1.2-1.3 via patch
	distrib/sets/lists/base/md.amd64: revision 1.51 via patch
	distrib/sets/lists/base/md.sparc64: revision 1.46 via patch
	distrib/sets/lists/base/shl.mi: revision 1.474 via patch
	distrib/sets/lists/comp/mi: revision 1.1263 via patch
	lib/libc/shlib_version: patch
	lib/libc/hash/sha2/Makefile.inc: revision 1.4 via patch
	lib/libc/hash/sha2/sha2.3: revision 1.5 via patch
	lib/libc/hash/sha2/sha224hl.c: revision 1.1 via patch
	lib/libc/include/namespace.h: revision 1.138 via patch
	lib/libcrypto/libc-sha256.c: revision 1.1 via patch
	lib/libcrypto/libc-sha512.c: revision 1.1 via patch
	lib/libcrypto/sha.inc: revision 1.10 via patch
	lib/libcrypto/shlib_version: patch
	sys/lib/libkern/arch/vax/Makefile.inc: revision 1.21 via patch
	sys/sys/sha2.h: revision 1.3 via patch
Add SHA224 implementation to libc.
Make libcrypto use the SHA2 implementation of libc.
Bump minor versions of libc and libcrypto.

Revision 1.138 / (download) - annotate - [select for diffs], Tue May 26 08:04:12 2009 UTC (14 years, 10 months ago) by joerg
Branch: MAIN
Changes since 1.137: +9 -1 lines
Diff to previous 1.137 (colored) to selected 1.13 (colored)

Add SHA224 implementation to libc.
Make libcrypto use the SHA2 implementation of libc.
Bump minor versions of libc and libcrypto.

Revision 1.137 / (download) - annotate - [select for diffs], Sun Jan 11 02:46:28 2009 UTC (15 years, 2 months ago) by christos
Branch: MAIN
CVS Tags: jym-xensuspend-nbase, jym-xensuspend-base, jym-xensuspend
Changes since 1.136: +14 -1 lines
Diff to previous 1.136 (colored) to selected 1.13 (colored)

merge christos-time_t

Revision 1.134.2.7 / (download) - annotate - [select for diffs], Sat Jan 10 21:39:02 2009 UTC (15 years, 2 months ago) by christos
Branch: christos-time_t
Changes since 1.134.2.6: +1 -2 lines
Diff to previous 1.134.2.6 (colored) next main 1.135 (colored) to selected 1.13 (colored)

revert previous resolver patch. Not meant for christos-time_t

Revision 1.134.2.6 / (download) - annotate - [select for diffs], Sun Jan 4 17:02:19 2009 UTC (15 years, 2 months ago) by christos
Branch: christos-time_t
Changes since 1.134.2.5: +9 -1 lines
Diff to previous 1.134.2.5 (colored) to selected 1.13 (colored)

merge with head.

Revision 1.136 / (download) - annotate - [select for diffs], Fri Dec 5 13:08:53 2008 UTC (15 years, 3 months ago) by ad
Branch: MAIN
CVS Tags: christos-time_t-nbase, christos-time_t-base
Changes since 1.135: +2 -1 lines
Diff to previous 1.135 (colored) to selected 1.13 (colored)

Add fdopendir(), from Solaris/Linux.

Revision 1.135 / (download) - annotate - [select for diffs], Thu Nov 20 23:50:08 2008 UTC (15 years, 4 months ago) by matt
Branch: MAIN
Changes since 1.134: +7 -1 lines
Diff to previous 1.134 (colored) to selected 1.13 (colored)

Add new ptree (Patricia / RADIX tree) implementation to NetBSD.

Revision 1.134.2.5 / (download) - annotate - [select for diffs], Mon Nov 10 01:16:34 2008 UTC (15 years, 4 months ago) by christos
Branch: christos-time_t
Changes since 1.134.2.4: +3 -1 lines
Diff to previous 1.134.2.4 (colored) to selected 1.13 (colored)

fix difftime.

Revision 1.134.2.4 / (download) - annotate - [select for diffs], Mon Nov 10 00:13:02 2008 UTC (15 years, 4 months ago) by christos
Branch: christos-time_t
Changes since 1.134.2.3: +3 -1 lines
Diff to previous 1.134.2.3 (colored) to selected 1.13 (colored)

this completes the symbol implementation for now. New we need to debug...

Revision 1.134.2.3 / (download) - annotate - [select for diffs], Sun Nov 9 19:36:03 2008 UTC (15 years, 4 months ago) by christos
Branch: christos-time_t
Changes since 1.134.2.2: +3 -1 lines
Diff to previous 1.134.2.2 (colored) to selected 1.13 (colored)

version some more stuff and add sys_foo aliases.

Revision 1.134.2.2 / (download) - annotate - [select for diffs], Sat Nov 8 21:45:38 2008 UTC (15 years, 4 months ago) by christos
Branch: christos-time_t
Changes since 1.134.2.1: +797 -0 lines
Diff to previous 1.134.2.1 (colored) to selected 1.13 (colored)

time_t changes

Revision 1.134.2.1, Fri Oct 31 16:12:18 2008 UTC (15 years, 4 months ago) by christos
Branch: christos-time_t
Changes since 1.134: +0 -790 lines
FILE REMOVED

file namespace.h was added on branch christos-time_t on 2008-11-08 21:45:38 +0000

Revision 1.134 / (download) - annotate - [select for diffs], Fri Oct 31 16:12:18 2008 UTC (15 years, 4 months ago) by christos
Branch: MAIN
Branch point for: christos-time_t
Changes since 1.133: +7 -1 lines
Diff to previous 1.133 (colored) to selected 1.13 (colored)

Import syslogd SoC project by Martin Schuette:
	- new syslog protocol api syslogp(3) that supports structured data
	  and draft-rfc timestamps
	- reliable tcp connections with queueing
	- encrypted connections

Revision 1.131.2.1 / (download) - annotate - [select for diffs], Thu Sep 18 04:39:22 2008 UTC (15 years, 6 months ago) by wrstuden
Branch: wrstuden-revivesa
Changes since 1.131: +4 -1 lines
Diff to previous 1.131 (colored) next main 1.132 (colored) to selected 1.13 (colored)

Sync with wrstuden-revivesa-base-2.

Revision 1.133 / (download) - annotate - [select for diffs], Mon Aug 4 21:29:27 2008 UTC (15 years, 7 months ago) by matt
Branch: MAIN
CVS Tags: wrstuden-revivesa-base-3, wrstuden-revivesa-base-2, netbsd-5-base, netbsd-5-0-RELEASE, netbsd-5-0-RC4, netbsd-5-0-RC3, netbsd-5-0-RC2, netbsd-5-0-RC1, matt-mips64-base2
Branch point for: netbsd-5-0, netbsd-5
Changes since 1.132: +3 -1 lines
Diff to previous 1.132 (colored) to selected 1.13 (colored)

Add C99 functions imaxabs and imaxdiv.

Revision 1.132 / (download) - annotate - [select for diffs], Wed Jun 25 11:10:25 2008 UTC (15 years, 9 months ago) by ad
Branch: MAIN
Changes since 1.131: +2 -1 lines
Diff to previous 1.131 (colored) to selected 1.13 (colored)

Add getlogin_r. Manual page changes mostly lifted from FreeBSD.

Revision 1.130.4.1 / (download) - annotate - [select for diffs], Sun May 18 12:30:17 2008 UTC (15 years, 10 months ago) by yamt
Branch: yamt-pf42
Changes since 1.130: +1 -8 lines
Diff to previous 1.130 (colored) next main 1.131 (colored) to selected 1.13 (colored)

sync with head.

Revision 1.131 / (download) - annotate - [select for diffs], Mon Apr 28 20:23:00 2008 UTC (15 years, 11 months ago) by martin
Branch: MAIN
CVS Tags: yamt-pf42-base4, yamt-pf42-base3, yamt-pf42-base2, wrstuden-revivesa-base-1, wrstuden-revivesa-base, hpcarm-cleanup-nbase
Branch point for: wrstuden-revivesa
Changes since 1.130: +1 -8 lines
Diff to previous 1.130 (colored) to selected 1.13 (colored)

Remove clause 3 and 4 from TNF licenses

Revision 1.129.4.1 / (download) - annotate - [select for diffs], Sun Mar 23 00:40:25 2008 UTC (16 years ago) by matt
Branch: matt-armv6
Changes since 1.129: +2 -1 lines
Diff to previous 1.129 (colored) next main 1.130 (colored) to selected 1.13 (colored)

sync with HEAD

Revision 1.130 / (download) - annotate - [select for diffs], Sat Feb 2 22:06:34 2008 UTC (16 years, 1 month ago) by christos
Branch: MAIN
CVS Tags: yamt-pf42-baseX, yamt-pf42-base, matt-armv6-nbase, keiichi-mipv6-base, keiichi-mipv6, hpcarm-cleanup-base
Branch point for: yamt-pf42
Changes since 1.129: +2 -1 lines
Diff to previous 1.129 (colored) to selected 1.13 (colored)

namespace protection for csetexpandtc()

Revision 1.129 / (download) - annotate - [select for diffs], Sun Jun 3 17:38:07 2007 UTC (16 years, 9 months ago) by christos
Branch: MAIN
CVS Tags: matt-mips64-base, matt-mips64, matt-armv6-prevmlocking, matt-armv6-base, hpcarm-cleanup, cube-autoconf-base, cube-autoconf
Branch point for: matt-armv6
Changes since 1.128: +7 -1 lines
Diff to previous 1.128 (colored) to selected 1.13 (colored)

- add read and readlink since they are used internally
- protect vsnprintf and vsnprintf since for lex(1) generated files <stdio.h>
  is included before "namespace.h".

Revision 1.128 / (download) - annotate - [select for diffs], Thu May 10 11:52:28 2007 UTC (16 years, 10 months ago) by he
Branch: MAIN
Changes since 1.127: +2 -1 lines
Diff to previous 1.127 (colored) to selected 1.13 (colored)

The sl_delete function needs namespace protection added here as well.

Revision 1.127 / (download) - annotate - [select for diffs], Sun Feb 18 18:16:24 2007 UTC (17 years, 1 month ago) by christos
Branch: MAIN
Changes since 1.126: +1 -2 lines
Diff to previous 1.126 (colored) to selected 1.13 (colored)

SHA512_Last is not public anymore.

Revision 1.126 / (download) - annotate - [select for diffs], Sat Feb 17 17:18:12 2007 UTC (17 years, 1 month ago) by christos
Branch: MAIN
Changes since 1.125: +2 -1 lines
Diff to previous 1.125 (colored) to selected 1.13 (colored)

Define for SHA512_Last.

Revision 1.125 / (download) - annotate - [select for diffs], Wed Nov 8 20:37:14 2006 UTC (17 years, 4 months ago) by drochner
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
Branch point for: netbsd-4-0, netbsd-4
Changes since 1.124: +1 -3 lines
Diff to previous 1.124 (colored) to selected 1.13 (colored)

cleanup unused stuff after hmac_* removal

Revision 1.124 / (download) - annotate - [select for diffs], Fri Nov 3 20:16:04 2006 UTC (17 years, 4 months ago) by christos
Branch: MAIN
Changes since 1.123: +3 -1 lines
Diff to previous 1.123 (colored) to selected 1.13 (colored)

protect the *syslog_ss

Revision 1.123 / (download) - annotate - [select for diffs], Sat Oct 28 23:20:57 2006 UTC (17 years, 5 months ago) by christos
Branch: MAIN
Changes since 1.122: +3 -1 lines
Diff to previous 1.122 (colored) to selected 1.13 (colored)

add {v,}snprintf_ss

Revision 1.122 / (download) - annotate - [select for diffs], Wed Oct 25 23:49:31 2006 UTC (17 years, 5 months ago) by christos
Branch: MAIN
Changes since 1.121: +6 -1 lines
Diff to previous 1.121 (colored) to selected 1.13 (colored)

add _r functions for syslog from OpenBSD

Revision 1.117.2.2 / (download) - annotate - [select for diffs], Sun Aug 27 06:15:45 2006 UTC (17 years, 7 months ago) by riz
Branch: abandoned-netbsd-4
Changes since 1.117.2.1: +6 -1 lines
Diff to previous 1.117.2.1 (colored) to branchpoint 1.117 (colored) next main 1.118 (colored) to selected 1.13 (colored)

Pull up following revision(s) (requested by tron in ticket #64):
	lib/libc/include/namespace.h: revision 1.119
	lib/libc/string/wcsdup.c: revision 1.1
	lib/libc/string/wcscasecmp.c: revision 1.1
	lib/libc/include/namespace.h: revision 1.120
	distrib/sets/lists/base/shl.mi: revision 1.366
	lib/libc/shlib_version: revision 1.182
	include/wchar.h: revision 1.26
	lib/libc/string/Makefile.inc: revision 1.62
	lib/libc/string/Makefile.inc: revision 1.63
	lib/libc/string/wcsncasecmp.c: revision 1.1
PR/34238: Aleksey Cheusov: add wcsdup, wcscasecmp and wcsncasecmp functions
libc 147 for wcsdup and wcs{n,}casecmp
include one more new file.
add wcsdup, wcscasecmp and wcsncasecmp.  fixes build problems..
I think we want both wcs{c,n}casecmp weak.

Revision 1.117.2.1 / (download) - annotate - [select for diffs], Sun Aug 27 06:08:52 2006 UTC (17 years, 7 months ago) by riz
Branch: abandoned-netbsd-4
Changes since 1.117: +3 -1 lines
Diff to previous 1.117 (colored) to selected 1.13 (colored)

Pull up following revision(s) (requested by tron in ticket #63):
	regress/lib/libc/string/Makefile: revision 1.9
	lib/libc/string/strsep.3: revision 1.17
	lib/libc/string/strsep.3: revision 1.18
	regress/lib/libc/string/stresep/Makefile: revision 1.1
	distrib/sets/lists/base/shl.mi: revision 1.364
	regress/lib/libc/string/stresep/stresep_test.c: revision 1.1
	lib/libc/gen/fstab.c: revision 1.28
	lib/libc/shlib_version: revision 1.181
	lib/libc/string/strndup.c: revision 1.1
	lib/libc/string/strdup.3: revision 1.13
	lib/libc/string/strdup.3: revision 1.14
	lib/libc/string/Makefile.inc: revision 1.61
	include/string.h: revision 1.31
	distrib/sets/lists/comp/mi: revision 1.909
	lib/libc/string/stresep.c: revision 1.1
	lib/libc/include/namespace.h: revision 1.118
- Add strndup and stresep
- Use stresep so in fstab so that we can mount paths with white space in th=
em.
Add stresep and strndup.
add regression test for stresep.
libc 146
man pages for stresep and strndup.
Mark up NULL.
stresep, not strnsep. Remove duplicate "the". Bump date for previous.

Revision 1.121 / (download) - annotate - [select for diffs], Thu Aug 24 06:56:39 2006 UTC (17 years, 7 months ago) by mrg
Branch: MAIN
Changes since 1.120: +3 -5 lines
Diff to previous 1.120 (colored) to selected 1.13 (colored)

remove duplicates added in previous commit.

Revision 1.120 / (download) - annotate - [select for diffs], Wed Aug 23 14:01:21 2006 UTC (17 years, 7 months ago) by christos
Branch: MAIN
Changes since 1.119: +3 -1 lines
Diff to previous 1.119 (colored) to selected 1.13 (colored)

I think we want both wcs{c,n}casecmp weak.

Revision 1.119 / (download) - annotate - [select for diffs], Wed Aug 23 06:18:12 2006 UTC (17 years, 7 months ago) by mrg
Branch: MAIN
Changes since 1.118: +4 -1 lines
Diff to previous 1.118 (colored) to selected 1.13 (colored)

add wcsdup, wcscasecmp and wcsncasecmp.  fixes build problems..

Revision 1.118 / (download) - annotate - [select for diffs], Sat Aug 12 23:49:54 2006 UTC (17 years, 7 months ago) by christos
Branch: MAIN
Changes since 1.117: +3 -1 lines
Diff to previous 1.117 (colored) to selected 1.13 (colored)

- Add strndup and stresep
- Use stresep so in fstab so that we can mount paths with white space in them.

Revision 1.117 / (download) - annotate - [select for diffs], Fri Jun 23 17:15:18 2006 UTC (17 years, 9 months ago) by christos
Branch: MAIN
CVS Tags: abandoned-netbsd-4-base
Branch point for: abandoned-netbsd-4
Changes since 1.116: +3 -1 lines
Diff to previous 1.116 (colored) to selected 1.13 (colored)

Make these weak as Matthias Drochner pointed out.

Revision 1.116 / (download) - annotate - [select for diffs], Fri May 5 00:03:21 2006 UTC (17 years, 10 months ago) by rpaulo
Branch: MAIN
Changes since 1.115: +14 -1 lines
Diff to previous 1.115 (colored) to selected 1.13 (colored)

Add support for RFC 3542 Adv. Socket API for IPv6 (which obsoletes 2292).
* RFC 3542 isn't binary compatible with RFC 2292.
* RFC 2292 support is on by default but can be disabled.
* update ping6, telnet and traceroute6 to the new API.

From the KAME project (www.kame.net).
Reviewed by core.

Revision 1.115 / (download) - annotate - [select for diffs], Mon Apr 17 23:29:21 2006 UTC (17 years, 11 months ago) by salo
Branch: MAIN
Changes since 1.114: +2 -1 lines
Diff to previous 1.114 (colored) to selected 1.13 (colored)

Add setttyentpath(), functionally equivalent to setttyent() but takes an
additional argument to read the ttys information from an alternate path
istead of _PATH_TTYS.

Required for upcoming init(8) changes.

Mostly from <apb>.

Bump libc minor.

Revision 1.114 / (download) - annotate - [select for diffs], Sun Apr 16 17:03:32 2006 UTC (17 years, 11 months ago) by christos
Branch: MAIN
Changes since 1.113: +2 -1 lines
Diff to previous 1.113 (colored) to selected 1.13 (colored)

namespace protect wcstod too, and fix the protection in wcstold and wcstof.

Revision 1.113 / (download) - annotate - [select for diffs], Sat Apr 15 15:34:34 2006 UTC (17 years, 11 months ago) by tnozaki
Branch: MAIN
Changes since 1.112: +1 -2 lines
Diff to previous 1.112 (colored) to selected 1.13 (colored)

wcstod(3) is conform to ISO C90 Ammendant1 (FreeBSD's manpage is incorrect...).
don't __weak_alias'ize it and fix manpage.

Revision 1.112 / (download) - annotate - [select for diffs], Sat Apr 15 12:17:23 2006 UTC (17 years, 11 months ago) by tnozaki
Branch: MAIN
Changes since 1.111: +4 -1 lines
Diff to previous 1.111 (colored) to selected 1.13 (colored)

add c99 wcstof(3) and wcstold(3).
requested by skrll AT netbsd DOT org, thanks.

bump libc minor 138 -> 139.

Revision 1.111 / (download) - annotate - [select for diffs], Wed Mar 15 17:35:18 2006 UTC (18 years ago) by kleink
Branch: MAIN
Changes since 1.110: +3 -1 lines
Diff to previous 1.110 (colored) to selected 1.13 (colored)

Add strtof(3) and strtold(3); welcome libc 12.137.

Revision 1.98.2.2 / (download) - annotate - [select for diffs], Sat Jan 28 10:23:01 2006 UTC (18 years, 2 months ago) by tron
Branch: netbsd-3
CVS Tags: 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
Changes since 1.98.2.1: +22 -0 lines
Diff to previous 1.98.2.1 (colored) to branchpoint 1.98 (colored) next main 1.99 (colored) to selected 1.13 (colored)

Pull up following revision(s) (requested by kleink in ticket #1142):
	lib/libc/rpc/mt_misc.c: revision 1.5
	lib/libc/include/namespace.h: revision 1.110
Need to give the various rpc locks private names (prefixing them with
__rpc_).  Rather than scattering changes around the 3rd-party RPC
code, place them in namespace.h.

Revision 1.110 / (download) - annotate - [select for diffs], Thu Jan 26 12:37:11 2006 UTC (18 years, 2 months ago) by kleink
Branch: MAIN
Changes since 1.109: +23 -1 lines
Diff to previous 1.109 (colored) to selected 1.13 (colored)

Need to give the various rpc locks private names (prefixing them with
__rpc_).  Rather than scattering changes around the 3rd-party RPC
code, place them in namespace.h.

Revision 1.109 / (download) - annotate - [select for diffs], Mon Sep 26 02:12:24 2005 UTC (18 years, 6 months ago) by christos
Branch: MAIN
Changes since 1.108: +25 -25 lines
Diff to previous 1.108 (colored) to selected 1.13 (colored)

the sha2 functions have an _.

Revision 1.108 / (download) - annotate - [select for diffs], Sun Sep 25 22:20:59 2005 UTC (18 years, 6 months ago) by elad
Branch: MAIN
Changes since 1.107: +42 -1 lines
Diff to previous 1.107 (colored) to selected 1.13 (colored)

Fix weak aliasing after recent changes.

Inspired by comments from christos@, xtraeme@, mlelstv@, mhitch@, mrg@,
and uwe@; all the bugs are mine.

Revision 1.107 / (download) - annotate - [select for diffs], Sun Sep 25 20:08:01 2005 UTC (18 years, 6 months ago) by christos
Branch: MAIN
Changes since 1.106: +3 -1 lines
Diff to previous 1.106 (colored) to selected 1.13 (colored)

add getenv_r and ttyname_r

Revision 1.106 / (download) - annotate - [select for diffs], Sun Aug 7 20:32:58 2005 UTC (18 years, 7 months ago) by veego
Branch: MAIN
Changes since 1.105: +2 -2 lines
Diff to previous 1.105 (colored) to selected 1.13 (colored)

Last change to namespace.h had an wrong entry: in6addr_nodelocal_allrouters
instead of in6addr_linklocal_allrouters.
Bump the shared library minor version.

Thanks to Klaus Klein for the hint what went wrong.

Revision 1.105 / (download) - annotate - [select for diffs], Sun Aug 7 16:00:01 2005 UTC (18 years, 7 months ago) by christos
Branch: MAIN
Changes since 1.104: +2 -1 lines
Diff to previous 1.104 (colored) to selected 1.13 (colored)

add missing in6addr_linklocal_allrouters.

Revision 1.104 / (download) - annotate - [select for diffs], Sat Jul 30 15:21:20 2005 UTC (18 years, 8 months ago) by christos
Branch: MAIN
Changes since 1.103: +2 -1 lines
Diff to previous 1.103 (colored) to selected 1.13 (colored)

- Fix the remaining indr_references so that they define lint symbols.
- Add an internal symbol for strerror_r (thanks klaus for noticing)
- Remove internal __strerror

Revision 1.103 / (download) - annotate - [select for diffs], Sun Jul 17 16:07:36 2005 UTC (18 years, 8 months ago) by christos
Branch: MAIN
Changes since 1.102: +3 -3 lines
Diff to previous 1.102 (colored) to selected 1.13 (colored)

Add comments at the end of #endif's; Requested by Havard Eidnes.

Revision 1.102 / (download) - annotate - [select for diffs], Sat Jul 16 17:12:36 2005 UTC (18 years, 8 months ago) by christos
Branch: MAIN
Changes since 1.101: +3 -1 lines
Diff to previous 1.101 (colored) to selected 1.13 (colored)

don't play #define games with lint. Breaks pass2.

Revision 1.98.2.1 / (download) - annotate - [select for diffs], Mon Jul 11 21:22:21 2005 UTC (18 years, 8 months ago) by tron
Branch: netbsd-3
CVS Tags: 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
Changes since 1.98: +3 -1 lines
Diff to previous 1.98 (colored) to selected 1.13 (colored)

Pull up revision 1.99 (requested by lukem in ticket #540):
PR/29849, PR/29850: Add getpwent_r and getgrent_r

Revision 1.101 / (download) - annotate - [select for diffs], Sun May 15 13:09:13 2005 UTC (18 years, 10 months ago) by yamt
Branch: MAIN
Changes since 1.100: +2 -1 lines
Diff to previous 1.100 (colored) to selected 1.13 (colored)

add fgetwln.

Revision 1.100 / (download) - annotate - [select for diffs], Thu Apr 7 16:26:35 2005 UTC (18 years, 11 months ago) by christos
Branch: MAIN
Changes since 1.99: +2 -2 lines
Diff to previous 1.99 (colored) to selected 1.13 (colored)

statvfs is both a function name and a struct tag. Defining it to _statvfs
causes lint to complain because it sees both struct statvfs and struct
_statvfs. Fix by changing the macro to have arguments.
XXX[1]: Probably this should be done for the rest of the functions that have
        the same names as struct tags.
XXX[2]: Is there a better way?

Revision 1.99 / (download) - annotate - [select for diffs], Sat Apr 2 04:53:53 2005 UTC (19 years ago) by christos
Branch: MAIN
Changes since 1.98: +3 -1 lines
Diff to previous 1.98 (colored) to selected 1.13 (colored)

PR/29849, PR/29850: Add getpwent_r and getgrent_r

Revision 1.98 / (download) - annotate - [select for diffs], Wed Feb 9 21:35:46 2005 UTC (19 years, 1 month ago) by kleink
Branch: MAIN
CVS Tags: netbsd-3-base
Branch point for: netbsd-3
Changes since 1.97: +13 -1 lines
Diff to previous 1.97 (colored) to selected 1.13 (colored)

A little libc namespace housekeeping exercise:
* Make vfprintf_unlocked() an internal function, c.f. __svfscanf_unlocked().
* Add internal names for arc4random(), endnetpath(), fhstatvfs(),
  fstatvfs(), mkstemp(), shquote(), statvfs(), taddr2uaddr(), uaddr2taddr(),
  uuid_create_nil(), uuid_is_nil(), and wcwidth().
* Include namespace.h where supposed to.

Revision 1.97 / (download) - annotate - [select for diffs], Thu Jan 6 15:10:45 2005 UTC (19 years, 2 months ago) by lukem
Branch: MAIN
Changes since 1.96: +2 -1 lines
Diff to previous 1.96 (colored) to selected 1.13 (colored)

Implement getgroupmembership(3).  This is similar to getgrouplist(3), except
that the "int maxgroups" and "int *ngroups" parameters are separated into
two separate parameters which makes it possible to call multiple nsswitch
back-ends and have the results correctly merged.
getgrouplist(3) is now implemented using getgroupmembership(3).

Proposed on tech-userlevel on December 1, 2004.

Revision 1.96 / (download) - annotate - [select for diffs], Thu Dec 16 12:30:04 2004 UTC (19 years, 3 months ago) by kleink
Branch: MAIN
Changes since 1.95: +2 -1 lines
Diff to previous 1.95 (colored) to selected 1.13 (colored)

Internally rename getdevmajor(); noted by Geoff Wing.

Revision 1.95 / (download) - annotate - [select for diffs], Tue Oct 5 04:45:54 2004 UTC (19 years, 5 months ago) by lukem
Branch: MAIN
Changes since 1.94: +3 -1 lines
Diff to previous 1.94 (colored) to selected 1.13 (colored)

Overhaul the use of nsdispatch(3) by public APIs so that the back-end
methods use va_list in a manner that is directly related to the public API.
This makes it much easier to write dynamic nsswitch backends for getpwent(3).
Per my proposal on tech-userlevel.

Implement getpwgid_r() and getpwnam_r() APIs per the POSIX 1003.1, 2004 Ed.
These aren't fully reentrant or threadsafe yet, because the compat stuff
currently uses non-reentrant data sources (getnetgrent(3), getpwent(3)),
and there is probably some locking to be improved in the backends.
This will be fixed in the near future.
We also need to add _SC_GETPW_R_SIZE_MAX to sysconf(3).

Fix the compat `+' prototype override so getpwnam(3) and getpwuid(3) DTRT.

Improve the description of pw_class and pw_gecos.

Revision 1.94 / (download) - annotate - [select for diffs], Mon Oct 4 04:16:26 2004 UTC (19 years, 5 months ago) by lukem
Branch: MAIN
Changes since 1.93: +2 -2 lines
Diff to previous 1.93 (colored) to selected 1.13 (colored)

crank copyright

Revision 1.93 / (download) - annotate - [select for diffs], Mon Oct 4 04:11:34 2004 UTC (19 years, 5 months ago) by lukem
Branch: MAIN
Changes since 1.92: +3 -1 lines
Diff to previous 1.92 (colored) to selected 1.13 (colored)

Overhaul the use of nsdispatch(3) by public APIs so that the back-end
methods use va_list in a manner that is directly related to the public API.
This makes it much easier to write dynamic nsswitch backends for getgrent(3).
Per my proposal on tech-userlevel.

Implement getgrgid_r() and getgrnam_r() APIs per the POSIX 1003.1, 2004 Ed.
These aren't fully reentrant or threadsafe yet, because the compat stuff
currently uses non-reentrant data sources (getnetgrent(3), getgrent(3)),
and there is probably some locking to be improved in the backends.
This will be fixed in the near future.
We also need to add _SC_GETGR_R_SIZE_MAX to sysconf(3).

Revision 1.84.2.3 / (download) - annotate - [select for diffs], Sat Sep 11 11:55:16 2004 UTC (19 years, 6 months ago) by he
Branch: netbsd-2-0
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-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
Changes since 1.84.2.2: +6 -1 lines
Diff to previous 1.84.2.2 (colored) to branchpoint 1.84 (colored) next main 1.85 (colored) to selected 1.13 (colored)

Pull up revision 1.92 (requested by ginsbach in ticket #834):
  Restore gethostent() as a supported interface.  Yes, it
  may be obsolete, but it is specified by IEEE Std 1003.1,
  2004 Edition (POSIX) and the X/Open standards (Issue 66
  and XNS 5.2).

Revision 1.92 / (download) - annotate - [select for diffs], Tue Aug 17 14:10:06 2004 UTC (19 years, 7 months ago) by ginsbach
Branch: MAIN
Changes since 1.91: +6 -1 lines
Diff to previous 1.91 (colored) to selected 1.13 (colored)

namespace protection for gethostent()

Revision 1.91 / (download) - annotate - [select for diffs], Wed Jun 2 20:54:58 2004 UTC (19 years, 9 months ago) by christos
Branch: MAIN
Changes since 1.90: +1 -12 lines
Diff to previous 1.90 (colored) to selected 1.13 (colored)

delete duplicate namespace protection.

Revision 1.90 / (download) - annotate - [select for diffs], Fri May 21 15:35:05 2004 UTC (19 years, 10 months ago) by christos
Branch: MAIN
Changes since 1.89: +12 -1 lines
Diff to previous 1.89 (colored) to selected 1.13 (colored)

namespace protection for resolver routines.

Revision 1.84.2.2 / (download) - annotate - [select for diffs], Tue May 11 15:48:25 2004 UTC (19 years, 10 months ago) by tron
Branch: netbsd-2-0
Changes since 1.84.2.1: +4 -1 lines
Diff to previous 1.84.2.1 (colored) to branchpoint 1.84 (colored) to selected 1.13 (colored)

Pull up revision 1.88 (requested by kleink in ticket #311):
We now need an internal name for fileno(), since when buildling libc
_REENTRANT we can no longer use the macro version from <stdio.h>.

Revision 1.89 / (download) - annotate - [select for diffs], Mon May 10 16:47:11 2004 UTC (19 years, 10 months ago) by drochner
Branch: MAIN
Changes since 1.88: +1 -2 lines
Diff to previous 1.88 (colored) to selected 1.13 (colored)

After discussion with christos, turn fgetstr() into an internal function.
Its API in inherently non-threadsafe (and it depends on certain properties
of the underlying stdio implementation), so it shouldn't be a first-class
function for general use, polluting the application namespace.
Also remove the FLOCKFILE() code from it - this is under control of the
calling function now.
(XXX I'm not sure whether the FLOCKFILE() should be kept in fgetln(),
this function cannot be used in multiple threads anyway. It doesn't
hurt much, and it might prevent corruption of internal FILE structures.)

Revision 1.88 / (download) - annotate - [select for diffs], Sun May 9 17:27:53 2004 UTC (19 years, 10 months ago) by kleink
Branch: MAIN
Changes since 1.87: +4 -1 lines
Diff to previous 1.87 (colored) to selected 1.13 (colored)

We now need an internal name for fileno(), since when buildling libc
_REENTRANT we can no longer use the macro version from <stdio.h>.

Revision 1.87 / (download) - annotate - [select for diffs], Tue Apr 27 20:03:45 2004 UTC (19 years, 11 months ago) by kleink
Branch: MAIN
Changes since 1.86: +1 -11 lines
Diff to previous 1.86 (colored) to selected 1.13 (colored)

Remove internal names for dbm_*(3); these are not required at this time.

Revision 1.86 / (download) - annotate - [select for diffs], Wed Apr 21 00:02:26 2004 UTC (19 years, 11 months ago) by christos
Branch: MAIN
Changes since 1.85: +2 -1 lines
Diff to previous 1.85 (colored) to selected 1.13 (colored)

protect fgetstr

Revision 1.84.2.1 / (download) - annotate - [select for diffs], Thu Apr 8 19:39:32 2004 UTC (19 years, 11 months ago) by jdc
Branch: netbsd-2-0
Changes since 1.84: +5 -1 lines
Diff to previous 1.84 (colored) to selected 1.13 (colored)

Pull up revision 1.85 (requested by atatat in ticket #90)

Weak aliases for sysctlfoobar() functions.

Revision 1.85 / (download) - annotate - [select for diffs], Thu Apr 8 05:45:26 2004 UTC (19 years, 11 months ago) by atatat
Branch: MAIN
Changes since 1.84: +5 -1 lines
Diff to previous 1.84 (colored) to selected 1.13 (colored)

Weak aliases for sysctlfoobar() functions.

Revision 1.84 / (download) - annotate - [select for diffs], Thu Mar 4 23:42:39 2004 UTC (20 years ago) by kleink
Branch: MAIN
CVS Tags: netbsd-2-0-base
Branch point for: netbsd-2-0
Changes since 1.83: +1 -5 lines
Diff to previous 1.83 (colored) to selected 1.13 (colored)

* Turn isinf(3) and isnan(3) into C99-style macros.
* Make it possible for ports to override these (i.e., VAX).
* Remove isnanl(), which was internal to libc only.

Revision 1.83 / (download) - annotate - [select for diffs], Thu Feb 19 19:22:51 2004 UTC (20 years, 1 month ago) by christos
Branch: MAIN
Changes since 1.82: +13 -1 lines
Diff to previous 1.82 (colored) to selected 1.13 (colored)

_r functions for services and protocols; also add the inet_cidr_* function
which will come next.

Revision 1.82 / (download) - annotate - [select for diffs], Thu Sep 18 09:25:20 2003 UTC (20 years, 6 months ago) by jdolecek
Branch: MAIN
Changes since 1.81: +1 -2 lines
Diff to previous 1.81 (colored) to selected 1.13 (colored)

remove pw_dup()

Revision 1.81 / (download) - annotate - [select for diffs], Sat Sep 13 22:28:13 2003 UTC (20 years, 6 months ago) by itojun
Branch: MAIN
Changes since 1.80: +3 -2 lines
Diff to previous 1.80 (colored) to selected 1.13 (colored)

weak alias for pw_dup

Revision 1.80 / (download) - annotate - [select for diffs], Sat Sep 13 21:27:45 2003 UTC (20 years, 6 months ago) by itojun
Branch: MAIN
Changes since 1.79: +4 -1 lines
Diff to previous 1.79 (colored) to selected 1.13 (colored)

use internal names for randomid()

Revision 1.79 / (download) - annotate - [select for diffs], Fri Jun 27 05:21:54 2003 UTC (20 years, 9 months ago) by tshiozak
Branch: MAIN
Changes since 1.78: +4 -1 lines
Diff to previous 1.78 (colored) to selected 1.13 (colored)

Citrus iconv support(4)
add iconv external I/F (iconv.h - iconv_open()/iconv()/iconv_close()) and
iconv(1) utility.
TODO:
  - bump libc minor.
  - add iconv data files.
  - create manpages: iconv_open(3)/iconv(3)/iconv_close(3)/iconv(1)/
    mkesdb(1)/mkcsmapper(1).

Revision 1.78 / (download) - annotate - [select for diffs], Wed May 28 20:22:55 2003 UTC (20 years, 10 months ago) by christos
Branch: MAIN
Changes since 1.77: +2 -1 lines
Diff to previous 1.77 (colored) to selected 1.13 (colored)

add readdir_r alias

Revision 1.77 / (download) - annotate - [select for diffs], Sat May 17 20:43:13 2003 UTC (20 years, 10 months ago) by thorpej
Branch: MAIN
Changes since 1.76: +3 -1 lines
Diff to previous 1.76 (colored) to selected 1.13 (colored)

Add isinfl() and isnanl().

Revision 1.76 / (download) - annotate - [select for diffs], Thu Feb 13 02:50:51 2003 UTC (21 years, 1 month ago) by nathanw
Branch: MAIN
Changes since 1.75: +2 -1 lines
Diff to previous 1.75 (colored) to selected 1.13 (colored)

Implement pthread_atfork() (in libc, because the required threadlib
stub behavior is exactly the same as the usual behavior).

Revision 1.75 / (download) - annotate - [select for diffs], Sat Jan 18 11:23:54 2003 UTC (21 years, 2 months ago) by thorpej
Branch: MAIN
Changes since 1.74: +8 -2 lines
Diff to previous 1.74 (colored) to selected 1.13 (colored)

Merge the nathanw_sa branch.

Revision 1.60.2.10 / (download) - annotate - [select for diffs], Wed Jan 8 20:01:13 2003 UTC (21 years, 2 months ago) by thorpej
Branch: nathanw_sa
CVS Tags: nathanw_sa_end
Changes since 1.60.2.9: +2 -1 lines
Diff to previous 1.60.2.9 (colored) next main 1.61 (colored) to selected 1.13 (colored)

Need an internal name for kill().

Revision 1.71.2.1 / (download) - annotate - [select for diffs], Mon Jan 6 04:50:00 2003 UTC (21 years, 2 months ago) by jmc
Branch: netbsd-1-6
CVS Tags: 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
Changes since 1.71: +2 -1 lines
Diff to previous 1.71 (colored) next main 1.72 (colored) to selected 1.13 (colored)

Pull up revisions 1.71-1.72 (requested by fvdl in ticket #1037)
 Add rpc_control.

Revision 1.60.2.9 / (download) - annotate - [select for diffs], Tue Dec 10 06:25:50 2002 UTC (21 years, 3 months ago) by thorpej
Branch: nathanw_sa
Changes since 1.60.2.8: +4 -1 lines
Diff to previous 1.60.2.8 (colored) to selected 1.13 (colored)

Sync with HEAD.

Revision 1.74 / (download) - annotate - [select for diffs], Sat Nov 30 03:04:45 2002 UTC (21 years, 4 months ago) by lukem
Branch: MAIN
CVS Tags: nathanw_sa_before_merge, nathanw_sa_base, fvdl_fs64_base
Changes since 1.73: +2 -1 lines
Diff to previous 1.73 (colored) to selected 1.13 (colored)

- Migrate fparseln(3) from libutil to libc, where it should have been in
  the first place...
- Bump libutil major (to 7.0) and libc minor (to 12.91).

Revision 1.73 / (download) - annotate - [select for diffs], Fri Nov 29 12:58:16 2002 UTC (21 years, 4 months ago) by lukem
Branch: MAIN
Changes since 1.72: +3 -1 lines
Diff to previous 1.72 (colored) to selected 1.13 (colored)

add strsuftoll(3) and strsuftollx(3) - parse a string for a number
with an optional suffix, product (two numbers separated by `x'), and
provide range checking

Revision 1.60.2.8 / (download) - annotate - [select for diffs], Mon Nov 11 22:22:19 2002 UTC (21 years, 4 months ago) by nathanw
Branch: nathanw_sa
Changes since 1.60.2.7: +2 -1 lines
Diff to previous 1.60.2.7 (colored) to selected 1.13 (colored)

Catch up to -current

Revision 1.72 / (download) - annotate - [select for diffs], Fri Nov 8 00:13:29 2002 UTC (21 years, 4 months ago) by fvdl
Branch: MAIN
Changes since 1.71: +2 -1 lines
Diff to previous 1.71 (colored) to selected 1.13 (colored)

Add rpc_control.

Revision 1.60.2.7 / (download) - annotate - [select for diffs], Fri Aug 2 21:31:06 2002 UTC (21 years, 8 months ago) by nathanw
Branch: nathanw_sa
Changes since 1.60.2.6: +2 -2 lines
Diff to previous 1.60.2.6 (colored) to selected 1.13 (colored)

Adapt to new stub name for sysarch.

Revision 1.60.2.6 / (download) - annotate - [select for diffs], Thu Apr 25 04:01:43 2002 UTC (21 years, 11 months ago) by nathanw
Branch: nathanw_sa
Changes since 1.60.2.5: +3 -1 lines
Diff to previous 1.60.2.5 (colored) to selected 1.13 (colored)

Catch up to -current.

Revision 1.52.2.3 / (download) - annotate - [select for diffs], Mon Apr 22 22:01:35 2002 UTC (21 years, 11 months ago) by he
Branch: netbsd-1-5
CVS Tags: netbsd-1-5-PATCH003
Changes since 1.52.2.2: +3 -1 lines
Diff to previous 1.52.2.2 (colored) to branchpoint 1.52 (colored) next main 1.53 (colored) to selected 1.13 (colored)

Pull up revision 1.71 (via patch, requested by kleink):
  Use internal names for strlcat() and strlcpy().

Revision 1.71 / (download) - annotate - [select for diffs], Wed Apr 17 16:23:08 2002 UTC (21 years, 11 months ago) by kleink
Branch: MAIN
CVS Tags: netbsd-1-6-base, netbsd-1-6-RELEASE, netbsd-1-6-RC3, netbsd-1-6-RC2, netbsd-1-6-RC1
Branch point for: netbsd-1-6
Changes since 1.70: +3 -1 lines
Diff to previous 1.70 (colored) to selected 1.13 (colored)

Need internal names for strlcat() and strlcpy().

Revision 1.60.2.5 / (download) - annotate - [select for diffs], Mon Feb 25 00:43:47 2002 UTC (22 years, 1 month ago) by nathanw
Branch: nathanw_sa
Changes since 1.60.2.4: +3 -2 lines
Diff to previous 1.60.2.4 (colored) to selected 1.13 (colored)

Move setlogin() stub to C code, and namespace-protect it.

Revision 1.60.2.4 / (download) - annotate - [select for diffs], Wed Feb 6 23:03:33 2002 UTC (22 years, 1 month ago) by nathanw
Branch: nathanw_sa
Changes since 1.60.2.3: +4 -1 lines
Diff to previous 1.60.2.3 (colored) to selected 1.13 (colored)

Add internal names for flockfile(), ftrylockfile(), and funlockfile().

Revision 1.60.2.3 / (download) - annotate - [select for diffs], Mon Jan 28 20:50:40 2002 UTC (22 years, 2 months ago) by nathanw
Branch: nathanw_sa
Changes since 1.60.2.2: +13 -4 lines
Diff to previous 1.60.2.2 (colored) to selected 1.13 (colored)

Catch up to -current.

Revision 1.70 / (download) - annotate - [select for diffs], Thu Jan 24 02:46:34 2002 UTC (22 years, 2 months ago) by lukem
Branch: MAIN
Changes since 1.69: +4 -2 lines
Diff to previous 1.69 (colored) to selected 1.13 (colored)

- Implement pwcache_userdb(3), which changes the routines that
  user_from_uid(3) and uid_from_user(3) use to lookup user information.
- Implement pwcache_groupdb(3), which changes the routines that
  group_from_gid(3) and gid_from_group(3) use to lookup group information.
- Ensure that private functions in pwcache.c are declared static
- Use strlcpy(3) instead of strncpy(3)

Revision 1.69 / (download) - annotate - [select for diffs], Mon Jan 14 00:55:57 2002 UTC (22 years, 2 months ago) by thorpej
Branch: MAIN
Changes since 1.68: +2 -1 lines
Diff to previous 1.68 (colored) to selected 1.13 (colored)

* Add WSYSCALL() to SYS.h, which creates a system call with an
  internal name and a weak alias for the name.
* Add a WEAKASM syscall list, and process it.
* Make sysarch() have an internal name (_sysarch()).

Revision 1.68 / (download) - annotate - [select for diffs], Sun Jan 13 21:45:52 2002 UTC (22 years, 2 months ago) by thorpej
Branch: MAIN
Changes since 1.67: +9 -3 lines
Diff to previous 1.67 (colored) to selected 1.13 (colored)

Add internal names for fp{get,set}{mask,round,sticky}(), and
externally-visible weak aliases for the internal names.

Revision 1.60.2.2 / (download) - annotate - [select for diffs], Mon Oct 8 20:19:44 2001 UTC (22 years, 5 months ago) by nathanw
Branch: nathanw_sa
Changes since 1.60.2.1: +13 -5 lines
Diff to previous 1.60.2.1 (colored) to selected 1.13 (colored)

Catch up to -current.

Revision 1.67 / (download) - annotate - [select for diffs], Wed Sep 19 21:38:21 2001 UTC (22 years, 6 months ago) by aymeric
Branch: MAIN
Changes since 1.66: +3 -3 lines
Diff to previous 1.66 (colored) to selected 1.13 (colored)

move adjtime and clock_settime where they belong, now that they are C functions.
Apart from being TRT, this makes a.out builds work again.

Revision 1.66 / (download) - annotate - [select for diffs], Sun Sep 16 07:41:56 2001 UTC (22 years, 6 months ago) by manu
Branch: MAIN
Changes since 1.65: +5 -1 lines
Diff to previous 1.65 (colored) to selected 1.13 (colored)

Added support to use the clockctl driver if present for adjtime(),
clock_settime(), ntp_adjtime() and settimeofday(). The super-user still
always use the plain system call.
Approved by Christos

Revision 1.65 / (download) - annotate - [select for diffs], Mon May 7 17:25:58 2001 UTC (22 years, 10 months ago) by kleink
Branch: MAIN
Changes since 1.64: +2 -2 lines
Diff to previous 1.64 (colored) to selected 1.13 (colored)

Internally rename sysconf() to __sysconf() to make its latter name suitable
for use from public headers.  Also, do so on all platforms.

Revision 1.64 / (download) - annotate - [select for diffs], Sat Apr 28 15:41:29 2001 UTC (22 years, 11 months ago) by kleink
Branch: MAIN
Changes since 1.63: +3 -1 lines
Diff to previous 1.63 (colored) to selected 1.13 (colored)

* Move definitions of exact-width integer types from <machine/types.h>
  to <sys/types.h> and <sys/stdint.h>.
* Add a new C99 <stdint.h> header, which provides integer types of
  explicit width, related limits and integer constant macros.
* Extend <inttypes.h> to provide <stdint.h> definitions and format
  macros for printf() and scanf().
* Add C99 strtoimax() and strtoumax() functions.
* Use the latter within scanf().
* Add C99 %j, %t and %z printf()/scanf() conversions for
  intmax_t, pointer-type and size_t arguments.

Revision 1.63 / (download) - annotate - [select for diffs], Fri Apr 13 14:18:09 2001 UTC (22 years, 11 months ago) by kleink
Branch: MAIN
Changes since 1.62: +2 -1 lines
Diff to previous 1.62 (colored) to selected 1.13 (colored)

Need an internal name for asprintf(3).

Revision 1.62 / (download) - annotate - [select for diffs], Sat Mar 31 18:58:41 2001 UTC (23 years ago) by kleink
Branch: MAIN
Changes since 1.61: +2 -4 lines
Diff to previous 1.61 (colored) to selected 1.13 (colored)

Finally deprecate the old timezone() interface in favor of an XSH5
timezone/daytime pair; as proposed by J.T. in September, 1996.
Fixes PR standards/11807 by Nick Hudson.

Revision 1.61 / (download) - annotate - [select for diffs], Mon Mar 19 04:13:17 2001 UTC (23 years ago) by atatat
Branch: MAIN
Changes since 1.60: +4 -1 lines
Diff to previous 1.60 (colored) to selected 1.13 (colored)

Add md2 routines to libc.

Revision 1.60.2.1 / (download) - annotate - [select for diffs], Mon Mar 5 23:34:38 2001 UTC (23 years ago) by nathanw
Branch: nathanw_sa
Changes since 1.60: +2 -1 lines
Diff to previous 1.60 (colored) to selected 1.13 (colored)

User-level support for LWPs and scheduler activations.
SVR4-style ucontext code by Klaus Klein.

Revision 1.60 / (download) - annotate - [select for diffs], Mon Feb 19 22:11:40 2001 UTC (23 years, 1 month ago) by cgd
Branch: MAIN
Branch point for: nathanw_sa
Changes since 1.59: +2 -1 lines
Diff to previous 1.59 (colored) to selected 1.13 (colored)

define getprogname to _getprogname for internal use

Revision 1.59 / (download) - annotate - [select for diffs], Fri Oct 20 18:46:07 2000 UTC (23 years, 5 months ago) by briggs
Branch: MAIN
Changes since 1.58: +2 -1 lines
Diff to previous 1.58 (colored) to selected 1.13 (colored)

Add {__,}fmtcheck(), a function specified by Bill Sommerfeld to check
a user-supplied format string against a fallback format string to ensure
that they will consume arguments of the same type.

libc minor bump for new API entry point.

Revision 1.52.2.2 / (download) - annotate - [select for diffs], Fri Sep 29 09:07:47 2000 UTC (23 years, 6 months ago) by kleink
Branch: netbsd-1-5
CVS Tags: netbsd-1-5-RELEASE, netbsd-1-5-PATCH002, netbsd-1-5-PATCH001, netbsd-1-5-BETA2, netbsd-1-5-BETA
Changes since 1.52.2.1: +1 -0 lines
Diff to previous 1.52.2.1 (colored) to branchpoint 1.52 (colored) to selected 1.13 (colored)

Pull up rev. 1.58 (approved by thorpej):
Add internal name for pipe().

Revision 1.58 / (download) - annotate - [select for diffs], Thu Sep 28 08:38:55 2000 UTC (23 years, 6 months ago) by kleink
Branch: MAIN
Changes since 1.57: +2 -1 lines
Diff to previous 1.57 (colored) to selected 1.13 (colored)

Need an internal name for pipe(2).

Revision 1.52.2.1 / (download) - annotate - [select for diffs], Tue Aug 22 07:52:35 2000 UTC (23 years, 7 months ago) by kleink
Branch: netbsd-1-5
Changes since 1.52: +4 -1 lines
Diff to previous 1.52 (colored) to selected 1.13 (colored)

Pull up revs. 1.53-1.54 (approved by thorpej):
Add internal names for brk(), sbrk() and fork().

Revision 1.57 / (download) - annotate - [select for diffs], Sat Jul 8 13:46:34 2000 UTC (23 years, 8 months ago) by kleink
Branch: MAIN
Changes since 1.56: +3 -1 lines
Diff to previous 1.56 (colored) to selected 1.13 (colored)

XCU5: Add fseeko() and ftello() functions which provide the functionality of
fseek() and ftell(), respectively, but operate on file offsets of type off_t.

Revision 1.56 / (download) - annotate - [select for diffs], Wed Jul 5 12:03:50 2000 UTC (23 years, 8 months ago) by kleink
Branch: MAIN
Changes since 1.55: +8 -8 lines
Diff to previous 1.55 (colored) to selected 1.13 (colored)

Lexicographically sort in previous.

Revision 1.55 / (download) - annotate - [select for diffs], Wed Jul 5 11:44:02 2000 UTC (23 years, 8 months ago) by ad
Branch: MAIN
Changes since 1.54: +8 -1 lines
Diff to previous 1.54 (colored) to selected 1.13 (colored)

Pull in RIPEMD-160 functions from OpenBSD - this has the same API as our MD4,
MD5 and SHA1 stuff.

Revision 1.54 / (download) - annotate - [select for diffs], Mon Jun 26 06:33:04 2000 UTC (23 years, 9 months ago) by kleink
Branch: MAIN
Changes since 1.53: +2 -1 lines
Diff to previous 1.53 (colored) to selected 1.13 (colored)

Need an internal name for fork().

Revision 1.51.2.1 / (download) - annotate - [select for diffs], Fri Jun 23 16:58:53 2000 UTC (23 years, 9 months ago) by minoura
Branch: minoura-xpg4dl
Changes since 1.51: +57 -1 lines
Diff to previous 1.51 (colored) next main 1.52 (colored) to selected 1.13 (colored)

Import of most recent XPG4DL dated 2000.06.23.

Revision 1.53 / (download) - annotate - [select for diffs], Fri Jun 23 15:40:40 2000 UTC (23 years, 9 months ago) by kleink
Branch: MAIN
Changes since 1.52: +3 -1 lines
Diff to previous 1.52 (colored) to selected 1.13 (colored)

Add internal names for brk() and sbrk().

Revision 1.52 / (download) - annotate - [select for diffs], Fri Jun 2 23:11:06 2000 UTC (23 years, 10 months ago) by fvdl
Branch: MAIN
CVS Tags: netbsd-1-5-base, netbsd-1-5-ALPHA2
Branch point for: netbsd-1-5
Changes since 1.51: +57 -1 lines
Diff to previous 1.51 (colored) to selected 1.13 (colored)

Add new RPC code, based on Sun's TI-RPC code. Adapted to not use XTI,
but sockets instead, internally. Old, backward compatible interfaces
maintained.

Revision 1.51 / (download) - annotate - [select for diffs], Mon May 8 13:38:44 2000 UTC (23 years, 10 months ago) by kleink
Branch: MAIN
CVS Tags: minoura-xpg4dl-base
Branch point for: minoura-xpg4dl
Changes since 1.50: +2 -1 lines
Diff to previous 1.50 (colored) to selected 1.13 (colored)

Need an internal name for send(); noticed by itojun.

Revision 1.50 / (download) - annotate - [select for diffs], Mon Apr 24 10:24:46 2000 UTC (23 years, 11 months ago) by itojun
Branch: MAIN
Changes since 1.49: +5 -1 lines
Diff to previous 1.49 (colored) to selected 1.13 (colored)

use BSDI-origin if_{index,name}* functions.  they use getifaddrs(3) as
backend and are more robust against SIOCGIFCONF alignment issue.
now getifaddrs always takes care of the issue.  (sync with kame tree)
use weak symbol just in case.

Revision 1.49 / (download) - annotate - [select for diffs], Mon Apr 24 09:27:30 2000 UTC (23 years, 11 months ago) by itojun
Branch: MAIN
Changes since 1.48: +22 -3 lines
Diff to previous 1.48 (colored) to selected 1.13 (colored)

supply weak alias for IPv6-related library additions.  sorry to be late.

Revision 1.48 / (download) - annotate - [select for diffs], Sun Apr 2 21:27:14 2000 UTC (24 years ago) by christos
Branch: MAIN
Changes since 1.47: +2 -1 lines
Diff to previous 1.47 (colored) to selected 1.13 (colored)

protect getopt_long.

Revision 1.47 / (download) - annotate - [select for diffs], Sun Apr 2 15:35:48 2000 UTC (24 years ago) by minoura
Branch: MAIN
Changes since 1.46: +6 -1 lines
Diff to previous 1.46 (colored) to selected 1.13 (colored)

Move dl* function definitions to libc on ELF.
Based on the patch supplied by Takuya Shiozaki <tshiozak@astec.co.jp>.
See http://mail-index.netbsd.org/tech-userlevel/2000/02/23/0000.html.

Revision 1.46 / (download) - annotate - [select for diffs], Wed Mar 8 20:17:19 2000 UTC (24 years ago) by kleink
Branch: MAIN
Changes since 1.45: +1 -3 lines
Diff to previous 1.45 (colored) to selected 1.13 (colored)

No longer need internal names for strtoq() and strtouq().

Revision 1.45 / (download) - annotate - [select for diffs], Mon Mar 6 18:32:22 2000 UTC (24 years ago) by kleink
Branch: MAIN
Changes since 1.44: +6 -1 lines
Diff to previous 1.44 (colored) to selected 1.13 (colored)

Add ISO C99 long long integer general utility interfaces; partially addresses
PR standards/9482.

Revision 1.44 / (download) - annotate - [select for diffs], Sun Jan 23 01:35:49 2000 UTC (24 years, 2 months ago) by mycroft
Branch: MAIN
Changes since 1.43: +3 -1 lines
Diff to previous 1.43 (colored) to selected 1.13 (colored)

Ditto for nlist().

Revision 1.43 / (download) - annotate - [select for diffs], Sat Jan 22 21:43:15 2000 UTC (24 years, 2 months ago) by mycroft
Branch: MAIN
Changes since 1.42: +3 -1 lines
Diff to previous 1.42 (colored) to selected 1.13 (colored)

Don't do the namespace hack for timezone() here; it causes lint, and we don't
need it anyway.

Revision 1.40.4.1 / (download) - annotate - [select for diffs], Mon Dec 27 18:29:40 1999 UTC (24 years, 3 months ago) by wrstuden
Branch: wrstuden-devbsize
Changes since 1.40: +10 -1 lines
Diff to previous 1.40 (colored) next main 1.41 (colored) to selected 1.13 (colored)

Pull up to last week's -current.

Revision 1.42 / (download) - annotate - [select for diffs], Wed Dec 1 18:34:22 1999 UTC (24 years, 4 months ago) by thorpej
Branch: MAIN
CVS Tags: wrstuden-devbsize-base, wrstuden-devbsize-19991221
Changes since 1.41: +7 -1 lines
Diff to previous 1.41 (colored) to selected 1.13 (colored)

Implement XDR routines for 64-bit integer data types:
- xdr_int64_t(), xdr_u_int64_t(), per NetBSD convention.
- xdr_hyper(), xdr_u_hyper(), xdr_longlong_t(), xdr_u_longlong_t(), a'la
  Solaris, implemented in terms of the above.

Revision 1.41 / (download) - annotate - [select for diffs], Thu Nov 25 16:54:15 1999 UTC (24 years, 4 months ago) by wennmach
Branch: MAIN
Changes since 1.40: +4 -1 lines
Diff to previous 1.40 (colored) to selected 1.13 (colored)

Added #defines for svis, strsvis, strsvisx

Revision 1.40 / (download) - annotate - [select for diffs], Mon Sep 20 15:07:21 1999 UTC (24 years, 6 months ago) by kleink
Branch: MAIN
CVS Tags: comdex-fall-1999-base, comdex-fall-1999
Branch point for: wrstuden-devbsize
Changes since 1.39: +5 -1 lines
Diff to previous 1.39 (colored) to selected 1.13 (colored)

Need internal names for these, too.

Revision 1.39 / (download) - annotate - [select for diffs], Wed Sep 15 14:21:01 1999 UTC (24 years, 6 months ago) by kleink
Branch: MAIN
Changes since 1.38: +3 -3 lines
Diff to previous 1.38 (colored) to selected 1.13 (colored)

Add indirect reference stubs for inet_[ap]ton() for environments not supporting
weak aliases; addresses PR lib/7435 but leaves the original file intact.

Revision 1.38 / (download) - annotate - [select for diffs], Tue Aug 17 05:20:23 1999 UTC (24 years, 7 months ago) by mycroft
Branch: MAIN
Changes since 1.37: +2 -1 lines
Diff to previous 1.37 (colored) to selected 1.13 (colored)

getsubopt(3) has a weak alias.

Revision 1.37 / (download) - annotate - [select for diffs], Tue Mar 9 13:14:36 1999 UTC (25 years 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.36: +1 -2 lines
Diff to previous 1.36 (colored) to selected 1.13 (colored)

Functionally back out namespace.h revision 1.7 and perror.c revision 1.15;
perror() is an identifier reserved by ANSI/ISO C, and in case of a redefition
the behavior is undefined.

Revision 1.36 / (download) - annotate - [select for diffs], Sat Feb 6 15:04:05 1999 UTC (25 years, 1 month ago) by kleink
Branch: MAIN
Changes since 1.35: +2 -1 lines
Diff to previous 1.35 (colored) to selected 1.13 (colored)

Add l64a_r(), a reentrant version of l64a(); found in the Multithreading
Extension of SVID4.

Revision 1.35 / (download) - annotate - [select for diffs], Thu Feb 4 05:09:26 1999 UTC (25 years, 1 month ago) by explorer
Branch: MAIN
Changes since 1.34: +8 -1 lines
Diff to previous 1.34 (colored) to selected 1.13 (colored)

add sha1 functions, like md5/4

Revision 1.34 / (download) - annotate - [select for diffs], Mon Jan 25 00:13:28 1999 UTC (25 years, 2 months ago) by lukem
Branch: MAIN
Changes since 1.33: +11 -1 lines
Diff to previous 1.33 (colored) to selected 1.13 (colored)

namespace protect hesiod stuff

Revision 1.33 / (download) - annotate - [select for diffs], Wed Jan 20 11:48:49 1999 UTC (25 years, 2 months ago) by lukem
Branch: MAIN
Changes since 1.32: +3 -2 lines
Diff to previous 1.32 (colored) to selected 1.13 (colored)

protect nsdispatch. sort entries

Revision 1.32 / (download) - annotate - [select for diffs], Mon Nov 30 20:43:06 1998 UTC (25 years, 4 months ago) by thorpej
Branch: MAIN
Changes since 1.31: +2 -1 lines
Diff to previous 1.31 (colored) to selected 1.13 (colored)

Need an internal name for the (new) sys_nsig.

Revision 1.31 / (download) - annotate - [select for diffs], Tue Oct 20 17:04:45 1998 UTC (25 years, 5 months ago) by kleink
Branch: MAIN
Changes since 1.30: +7 -1 lines
Diff to previous 1.30 (colored) to selected 1.13 (colored)

Need internal names for MD[45]{Init,Final,Update}().

Revision 1.30 / (download) - annotate - [select for diffs], Sun Oct 18 13:56:22 1998 UTC (25 years, 5 months ago) by kleink
Branch: MAIN
Changes since 1.29: +1 -2 lines
Diff to previous 1.29 (colored) to selected 1.13 (colored)

Replace use of getdtablesize() with (the non-deprecated) sysconf(), hence no
need for an internal name for the former any more; suggested by Matthew Green.

Revision 1.29 / (download) - annotate - [select for diffs], Fri Oct 16 20:35:20 1998 UTC (25 years, 5 months ago) by kleink
Branch: MAIN
Changes since 1.28: +1 -2 lines
Diff to previous 1.28 (colored) to selected 1.13 (colored)

getsubopt() isn't used internally.

Revision 1.28 / (download) - annotate - [select for diffs], Fri Oct 16 20:26:02 1998 UTC (25 years, 5 months ago) by kleink
Branch: MAIN
Changes since 1.27: +2 -1 lines
Diff to previous 1.27 (colored) to selected 1.13 (colored)

Need an internal name for herror().

Revision 1.27 / (download) - annotate - [select for diffs], Fri Oct 16 12:56:44 1998 UTC (25 years, 5 months ago) by kleink
Branch: MAIN
Changes since 1.26: +2 -1 lines
Diff to previous 1.26 (colored) to selected 1.13 (colored)

Need an internal name for tzname.

Revision 1.26 / (download) - annotate - [select for diffs], Fri Oct 16 12:47:45 1998 UTC (25 years, 5 months ago) by kleink
Branch: MAIN
Changes since 1.25: +2 -1 lines
Diff to previous 1.25 (colored) to selected 1.13 (colored)

Need an internal name for signal().

Revision 1.25 / (download) - annotate - [select for diffs], Fri Oct 16 12:39:54 1998 UTC (25 years, 5 months ago) by kleink
Branch: MAIN
Changes since 1.24: +2 -1 lines
Diff to previous 1.24 (colored) to selected 1.13 (colored)

Need an internal name for fgetln().

Revision 1.24 / (download) - annotate - [select for diffs], Thu Oct 15 09:28:13 1998 UTC (25 years, 5 months ago) by kleink
Branch: MAIN
Changes since 1.23: +2 -1 lines
Diff to previous 1.23 (colored) to selected 1.13 (colored)

Need an internal name for dn_expand().

Revision 1.23 / (download) - annotate - [select for diffs], Wed Oct 14 19:41:03 1998 UTC (25 years, 5 months ago) by kleink
Branch: MAIN
Changes since 1.22: +3 -1 lines
Diff to previous 1.22 (colored) to selected 1.13 (colored)

Need internal names for {end,set}hostent().

Revision 1.22 / (download) - annotate - [select for diffs], Wed Oct 14 19:13:02 1998 UTC (25 years, 5 months ago) by kleink
Branch: MAIN
Changes since 1.21: +5 -1 lines
Diff to previous 1.21 (colored) to selected 1.13 (colored)

Need internal names for res_init(), res_mkquery(), res_query() and res_search().

Revision 1.21 / (download) - annotate - [select for diffs], Wed Oct 14 11:25:18 1998 UTC (25 years, 5 months ago) by kleink
Branch: MAIN
Changes since 1.20: +6 -1 lines
Diff to previous 1.20 (colored) to selected 1.13 (colored)

Need internal names for ftruncate(), lseek(), mmap(), pread() and pwrite().

Revision 1.20 / (download) - annotate - [select for diffs], Tue Oct 13 21:03:32 1998 UTC (25 years, 5 months ago) by kleink
Branch: MAIN
Changes since 1.19: +2 -1 lines
Diff to previous 1.19 (colored) to selected 1.13 (colored)

Need an internal name for inet_aton().

Revision 1.19 / (download) - annotate - [select for diffs], Tue Oct 13 20:54:03 1998 UTC (25 years, 5 months ago) by kleink
Branch: MAIN
Changes since 1.18: +3 -1 lines
Diff to previous 1.18 (colored) to selected 1.13 (colored)

Need internal names for gethostby{addr,name}().

Revision 1.18 / (download) - annotate - [select for diffs], Tue Oct 13 20:40:29 1998 UTC (25 years, 5 months ago) by kleink
Branch: MAIN
Changes since 1.17: +2 -1 lines
Diff to previous 1.17 (colored) to selected 1.13 (colored)

Need an internal name for getdomainname().

Revision 1.17 / (download) - annotate - [select for diffs], Tue Oct 13 20:32:09 1998 UTC (25 years, 5 months ago) by kleink
Branch: MAIN
Changes since 1.16: +2 -1 lines
Diff to previous 1.16 (colored) to selected 1.13 (colored)

Need an internal name for strsep().

Revision 1.16 / (download) - annotate - [select for diffs], Tue Oct 13 20:27:55 1998 UTC (25 years, 5 months ago) by kleink
Branch: MAIN
Changes since 1.15: +2 -1 lines
Diff to previous 1.15 (colored) to selected 1.13 (colored)

Need an internal name for strdup().

Revision 1.15 / (download) - annotate - [select for diffs], Tue Oct 13 15:05:02 1998 UTC (25 years, 5 months ago) by kleink
Branch: MAIN
Changes since 1.14: +2 -1 lines
Diff to previous 1.14 (colored) to selected 1.13 (colored)

Need an internal name for isatty().

Revision 1.14 / (download) - annotate - [select for diffs], Tue Oct 13 14:43:36 1998 UTC (25 years, 5 months ago) by kleink
Branch: MAIN
Changes since 1.13: +3 -1 lines
Diff to previous 1.13 (colored)

Need internal names for isinf() and isnan().

Revision 1.13 / (download) - annotate - [selected], Tue Oct 13 14:19:21 1998 UTC (25 years, 5 months ago) by kleink
Branch: MAIN
Changes since 1.12: +4 -2 lines
Diff to previous 1.12 (colored)

Need internal names for snprintf() and vsnprintf().

Revision 1.12 / (download) - annotate - [select for diffs], Tue Oct 13 14:07:04 1998 UTC (25 years, 5 months ago) by kleink
Branch: MAIN
Changes since 1.11: +2 -1 lines
Diff to previous 1.11 (colored) to selected 1.13 (colored)

Need an internal name for fdopen().

Revision 1.11 / (download) - annotate - [select for diffs], Thu Oct 8 13:49:17 1998 UTC (25 years, 5 months ago) by kleink
Branch: MAIN
Changes since 1.10: +2 -1 lines
Diff to previous 1.10 (colored) to selected 1.13 (colored)

Add an internal name for getdtablesize(), since it's being used internally.

Revision 1.10 / (download) - annotate - [select for diffs], Sun Sep 27 18:14:14 1998 UTC (25 years, 6 months ago) by kleink
Branch: MAIN
Changes since 1.9: +2 -1 lines
Diff to previous 1.9 (colored) to selected 1.13 (colored)

Add missing renaming of tcgetsid().

Revision 1.9 / (download) - annotate - [select for diffs], Sun Sep 27 17:57:49 1998 UTC (25 years, 6 months ago) by kleink
Branch: MAIN
Changes since 1.8: +2 -1 lines
Diff to previous 1.8 (colored) to selected 1.13 (colored)

Add an internal name for strtok_r().

Revision 1.8 / (download) - annotate - [select for diffs], Thu Sep 10 16:02:59 1998 UTC (25 years, 6 months ago) by kleink
Branch: MAIN
Changes since 1.7: +5 -1 lines
Diff to previous 1.7 (colored) to selected 1.13 (colored)

Add asctime_r(), ctime_r(), gmtime_r() and localtime_r().

Revision 1.7 / (download) - annotate - [select for diffs], Tue Jul 28 12:22:32 1998 UTC (25 years, 8 months ago) by mycroft
Branch: MAIN
Changes since 1.6: +2 -1 lines
Diff to previous 1.6 (colored) to selected 1.13 (colored)

Add an internal name for perror(3).

Revision 1.6 / (download) - annotate - [select for diffs], Sat Dec 20 20:23:18 1997 UTC (26 years, 3 months ago) by kleink
Branch: MAIN
Changes since 1.5: +2 -1 lines
Diff to previous 1.5 (colored) to selected 1.13 (colored)

Add lockf(), an alternate interface to perform advisory record locking;
per XPG4.2.

Revision 1.5 / (download) - annotate - [select for diffs], Sun Nov 2 16:48:25 1997 UTC (26 years, 5 months ago) by kleink
Branch: MAIN
Changes since 1.4: +3 -1 lines
Diff to previous 1.4 (colored) to selected 1.13 (colored)

Add basename() and dirname(), from XPG4.2.

Revision 1.4 / (download) - annotate - [select for diffs], Mon Jul 21 14:17:52 1997 UTC (26 years, 8 months ago) by jtc
Branch: MAIN
CVS Tags: 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.3: +34 -1 lines
Diff to previous 1.3 (colored) to selected 1.13 (colored)

Put TNF copyright on this file

Revision 1.3 / (download) - annotate - [select for diffs], Mon Jul 21 14:07:51 1997 UTC (26 years, 8 months ago) by jtc
Branch: MAIN
Changes since 1.2: +374 -1 lines
Diff to previous 1.2 (colored) to selected 1.13 (colored)

If port provides __weak_alias(), provide an Standard C and POSIX pure
identifier namespace by renaming non standard functions and variables
such that they have a leading underscore.  The library will use those
names internally.  Weak aliases are used to provide the original names
to the API.

This is only the first part of this change.  It is most of the functions
which are implemented in C for all NetBSD ports.  Subsequent changes are
to add the same support to the remaining C files, to assembly files, and
to the automagically generated assembly source used for system calls.
When all of the above is done, ports with weak alias support should add
a definition for __weak_alias to <sys/cdefs.h>.

Revision 1.2.4.8 / (download) - annotate - [select for diffs], Fri Sep 20 17:00:21 1996 UTC (27 years, 6 months ago) by jtc
Branch: ivory_soap2
Changes since 1.2.4.7: +87 -1 lines
Diff to previous 1.2.4.7 (colored) to branchpoint 1.2 (colored) next main 1.3 (colored) to selected 1.13 (colored)

snapshot namespace cleanup: net, etc.

Revision 1.2.4.7 / (download) - annotate - [select for diffs], Thu Sep 19 20:04:36 1996 UTC (27 years, 6 months ago) by jtc
Branch: ivory_soap2
Changes since 1.2.4.6: +292 -214 lines
Diff to previous 1.2.4.6 (colored) to branchpoint 1.2 (colored) to selected 1.13 (colored)

snapshot namespace cleanup: gen

Revision 1.2.4.6 / (download) - annotate - [select for diffs], Wed Sep 18 02:42:45 1996 UTC (27 years, 6 months ago) by jtc
Branch: ivory_soap2
Changes since 1.2.4.5: +28 -1 lines
Diff to previous 1.2.4.5 (colored) to branchpoint 1.2 (colored) to selected 1.13 (colored)

snapshot namespace cleanup: stdlib

Revision 1.2.4.5 / (download) - annotate - [select for diffs], Tue Sep 17 23:01:52 1996 UTC (27 years, 6 months ago) by jtc
Branch: ivory_soap2
Changes since 1.2.4.4: +12 -1 lines
Diff to previous 1.2.4.4 (colored) to branchpoint 1.2 (colored) to selected 1.13 (colored)

snapshot namespace cleanup: time

Revision 1.2.4.4 / (download) - annotate - [select for diffs], Tue Sep 17 21:21:29 1996 UTC (27 years, 6 months ago) by jtc
Branch: ivory_soap2
Changes since 1.2.4.3: +35 -1 lines
Diff to previous 1.2.4.3 (colored) to branchpoint 1.2 (colored) to selected 1.13 (colored)

snapshot namespace cleanup: yp

Revision 1.2.4.3 / (download) - annotate - [select for diffs], Tue Sep 17 17:53:30 1996 UTC (27 years, 6 months ago) by jtc
Branch: ivory_soap2
Changes since 1.2.4.2: +16 -2 lines
Diff to previous 1.2.4.2 (colored) to branchpoint 1.2 (colored) to selected 1.13 (colored)

snapshot namespace cleanup: termios

Revision 1.2.4.2 / (download) - annotate - [select for diffs], Mon Sep 16 23:44:14 1996 UTC (27 years, 6 months ago) by jtc
Branch: ivory_soap2
Changes since 1.2.4.1: +125 -26 lines
Diff to previous 1.2.4.1 (colored) to branchpoint 1.2 (colored) to selected 1.13 (colored)

snapshot namespace cleanup: rpc & xdr

Revision 1.2.4.1 / (download) - annotate - [select for diffs], Mon Sep 16 18:40:51 1996 UTC (27 years, 6 months ago) by jtc
Branch: ivory_soap2
Changes since 1.2: +48 -5 lines
Diff to previous 1.2 (colored) to selected 1.13 (colored)

snapshot namespace cleanup

Revision 1.1.2.7 / (download) - annotate - [select for diffs], Tue May 2 19:35:37 1995 UTC (28 years, 11 months ago) by jtc
Branch: ivory_soap
Changes since 1.1.2.6: +8 -0 lines
Diff to previous 1.1.2.6 (colored) next main 1.2 (colored) to selected 1.13 (colored)

#include "namespace.h"

Revision 1.1.2.6 / (download) - annotate - [select for diffs], Wed Apr 26 00:58:17 1995 UTC (28 years, 11 months ago) by jtc
Branch: ivory_soap
Changes since 1.1.2.5: +14 -0 lines
Diff to previous 1.1.2.5 (colored) to selected 1.13 (colored)

namespace exec*() and *dir() functions, like sysv

Revision 1.1.2.5 / (download) - annotate - [select for diffs], Tue Apr 25 23:50:11 1995 UTC (28 years, 11 months ago) by jtc
Branch: ivory_soap
Changes since 1.1.2.4: +7 -0 lines
Diff to previous 1.1.2.4 (colored) to selected 1.13 (colored)

signal set manipulation functions are used by abort()

Revision 1.1.2.4 / (download) - annotate - [select for diffs], Tue Apr 25 19:01:23 1995 UTC (28 years, 11 months ago) by jtc
Branch: ivory_soap
Changes since 1.1.2.3: +1 -0 lines
Diff to previous 1.1.2.3 (colored) to selected 1.13 (colored)

Namespace protect isatty(), it's used by stdio to determine default
buffering characteristics for streams.

Revision 1.1.2.3 / (download) - annotate - [select for diffs], Tue Apr 18 04:05:29 1995 UTC (28 years, 11 months ago) by jtc
Branch: ivory_soap
Changes since 1.1.2.2: +2 -0 lines
Diff to previous 1.1.2.2 (colored) to selected 1.13 (colored)

namespace protect isnan() and isinf()

Revision 1.1.2.2 / (download) - annotate - [select for diffs], Sat Mar 25 02:25:10 1995 UTC (29 years ago) by jtc
Branch: ivory_soap
Changes since 1.1.2.1: +4 -0 lines
Diff to previous 1.1.2.1 (colored) to selected 1.13 (colored)

updated

Revision 1.1.2.1 / (download) - annotate - [select for diffs], Mon Mar 13 20:41:36 1995 UTC (29 years ago) by jtc
Branch: ivory_soap
Changes since 1.1: +138 -0 lines
Diff to previous 1.1 (colored) to selected 1.13 (colored)

add mappings for syscalls and time and date routines

Revision 1.2 / (download) - annotate - [select for diffs], Mon Feb 27 13:02:12 1995 UTC (29 years, 1 month ago) by cgd
Branch: MAIN
CVS Tags: nsswitch, 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
Branch point for: ivory_soap2
Changes since 1.1: +2 -0 lines
Diff to previous 1.1 (colored) to selected 1.13 (colored)

clean up Id

Revision 1.1 / (download) - annotate - [select for diffs], Thu Feb 9 04:49:01 1995 UTC (29 years, 1 month ago) by jtc
Branch: MAIN
Branch point for: ivory_soap
Diff to selected 1.13 (colored)

Initial set of ANSI clean namespace mappings.

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>