Commit Graph

176 Commits

Author SHA1 Message Date
Julian Elischer
c840cec7c5 Submitted by: John Birrell
uthreads update from the author.
1997-02-05 23:26:09 +00:00
Mike Pritchard
b6febe7acf Change to comment for fs_passno to reflect that it applies
to fsck and not dump.
1997-01-28 06:11:45 +00:00
Andrey A. Chernov
71b9b9d8e6 Change XOPEN constants to match FreeBSD reality and add some
comments to describe them
1997-01-16 08:27:18 +00:00
Andrey A. Chernov
eca6bf6ad9 Activate _POSIX_* stuff if !_ANSI_SOURCE
Add _XOPEN constants set, needed mainly to sense position arguments
in printf (vi cares at this moment)
Obtained from: NetBSD
1997-01-16 07:57:56 +00:00
Jordan K. Hubbard
1130b656e5 Make the long-awaited change from $Id$ to $FreeBSD$
This will make a number of things easier in the future, as well as (finally!)
avoiding the Id-smashing problem which has plagued developers for so long.

Boy, I'm glad we're not using sup anymore.  This update would have been
insane otherwise.
1997-01-14 07:20:47 +00:00
David Nugent
e0f530a531 Internationalise "authorize". 1997-01-09 04:16:18 +00:00
David Nugent
587151228b Typo fix. 1997-01-07 13:04:38 +00:00
David Nugent
7431589cd8 Move typedef for rlim_t into sys/types.h (as per NetBSD). 1997-01-05 18:32:00 +00:00
Søren Schmidt
66f27e5c7d Add the forgotten login_cap.h 1997-01-04 20:40:34 +00:00
David Nugent
a87a87a21c Header for login class capabilities handling. 1997-01-04 16:43:58 +00:00
Andrey A. Chernov
791a338bdb Oops, remove FNM_NOCASE alias: really I can't remember any system
with this define, it was ftpd-inspired.
1997-01-02 19:05:16 +00:00
Andrey A. Chernov
e1a1573d6f Add FNM_NOCASE and FNM_IGNORECASE as synonyms to FNM_CASEFOLD
for better compatibility with other systems
1997-01-02 18:27:22 +00:00
David Nugent
4ae89ecddd Added group= facility to /etc/ttys for tty grouping for more
more manageable and convenient referencing by login.conf (login
class database) and (e.g.) login.access.

This is the first of a group of commits which implements the login
class capabilities database.
1997-01-02 08:05:43 +00:00
Peter Wemm
91f0745a28 Missed prototype for svc_getreqset2() 1996-12-31 09:08:44 +00:00
Peter Wemm
2a053fb1ae - Prototypes, including pointers to functions
- C++ safe
1996-12-30 14:01:12 +00:00
Peter Wemm
70de0abf48 First commit of a series of cleanups for the libc rpc code which has been
suffering a bad case neglect for the last few years.

- Add full prototypes, including to function pointers.
- Make the wire protocols 64-bit type safe, eg: 32 bit quantities are
  int32_t, not long.  The orginal rpc code was implemented when an int
  could be 16 bits.

Obtained from: a diff of FreeBSD vs. OpenBSD/NetBSD rpc code.
1996-12-30 13:59:41 +00:00
Peter Wemm
f3f42e9672 Update 4.9.4-P1 -> 4.9.5-P1
Included here are definitions for the DNSSEC key management stuff.
1996-12-30 13:10:35 +00:00
Peter Wemm
315d6d9c3b Update the resolver definitions from bind-4.9.4-P1 to 4.9.5-P1 level.
(More commits to come)
1996-12-30 13:08:54 +00:00
Jordan K. Hubbard
89eac9644c Geeze, I'm really off-target on my Makefile hacking tonite. Guess I'll
go to bed. :-)  Revert this change which would have broken the ${DESTDIR}
relative link when chrooted.

Pointed-Out-To-My-Embarassment-By: bde
1996-12-30 07:38:51 +00:00
Jordan K. Hubbard
cb9de2a646 Add some missing ${DESTDIR}s here. 1996-12-30 04:52:54 +00:00
Warner Losh
2ad334cde8 string.h defines nonstandard routines when _POSIX_SOURCE is
defined.  It has been fixed to not do that.

Submitted by:	Jake Hamby <jehamby@lightside.com>
Closes PR:	1954
1996-12-17 19:35:43 +00:00
Andrey A. Chernov
00b18da210 Fix compiler warning: /* inside comment
2.2 candidate
1996-12-05 14:46:57 +00:00
Jordan K. Hubbard
96b2533ed1 Bump maximum username length to 16 characters. This brings us into
line with BSD/OS and Linux's username limits, making transitioning from
either operating system a lot easier than it is now.  I'm currently
running with this change on my system, as are several others, and have
experienced no ill effects.

This is not for 2.2!  This needs to get shaken out longer term in 3.0.

Previously-approved-by:  davidg
1996-12-04 11:31:14 +00:00
Poul-Henning Kamp
f5daa1a513 Update to more current reality.
Reviewed by:	phk
Submitted by:	Robin Carey <robin@mailgate.dtc.rankxerox.co.uk>
1996-11-28 09:57:31 +00:00
Garrett Wollman
2832011fa2 Matching routed.h to go along with latest routed. 1996-11-19 21:22:18 +00:00
Jeffrey Hsu
b0e998dc26 Change prototypes for gmtime_r() and localtime_r() in accordance with
IEEE pthreads specification.
1996-11-11 09:22:13 +00:00
Jeffrey Hsu
7d9120c451 Prototype pthread_mutexattr_getkind_np() and pthread_mutexattr_setkind_np(). 1996-11-11 09:21:19 +00:00
Jeffrey Hsu
9362f73db8 Moved pthread_mutexattr_default inside #ifndef PTHREAD_KERNEL now that
we use it in the uthreads implementation.
Moved enum pthread_mutextype here from libc_r/uthread/pthread_private.h.
Change prototype for pthread_getspecific().
1996-11-11 09:19:54 +00:00
Andrey A. Chernov
9623470623 Remove collate_range_cmp 1996-10-31 14:41:30 +00:00
Wolfram Schneider
8c372bd8a2 improve comments for UT_NAMESIZE 1996-10-27 18:13:35 +00:00
Bruce Evans
70cd2f632d Fixed tabs and punctuation to match nearby (and KNF) style. Sigh. 1996-10-24 04:05:54 +00:00
Andrey A. Chernov
d9de4eee40 GNU-style changes:
1) Rename FNM_ICASE to FNM_CASEFOLD
2) Add FNM_LEADING_DIR
1996-10-23 16:42:33 +00:00
Wolfram Schneider
95e4966c47 add flag FNM_ICASE for case insensitve search
Reviewed by: ache
1996-10-20 15:15:59 +00:00
Jordan K. Hubbard
cf3c4df72d Add back netns 1996-10-17 18:44:56 +00:00
Marc G. Fournier
524e95de2b Fixed the wrong include file for a "prototype mismatch" error between
dlfcn.h and link.h
1996-10-08 01:38:36 +00:00
Marc G. Fournier
0e9cb8bed8 dlfcn.h and link.h have conflicting declarations for dlopen/dlsym,
with dlfcn.h declaring them as:

void *dlopen __P((const char *, int));
void *dlsym __P((void *, const char *));

while link.h declared them as

extern void *dlopen __P((char *, int));
extern void *dlsym __P((void *, char *));

Fix link.h to match dlfcn.h
1996-10-07 20:49:03 +00:00
Peter Wemm
f62b417ba5 Add support for storing a -R path in ld in the section dispatch table,
support LD_HINTS_VERSION_2 that has the ldconfig pathname stored in the
ld.so.hints file (ie: a new library can be installed and used without
needing to run ldconfig -m first)

Reviewed by: nate, jdp
Obtained from: NetBSD (mostly)
1996-10-01 00:25:32 +00:00
Peter Wemm
8bd5578830 Add the linker set stab types: N_SETA N_SETT N_SETD N_SETB N_SETV 1996-10-01 00:01:43 +00:00
Bruce Evans
976cca3578 Fixed CLEANFILES. osreldate was missing.
Cleaned up LDIRS line.
1996-09-20 13:42:26 +00:00
Bruce Evans
eaa86f9d7f Don't use __dead or __pure in user code. They were obfuscations
for gcc >= 2.5 and no-ops for gcc >= 2.6.  Converted to use __dead2
or __pure2 where it wasn't already done, except in math.h where use
of __pure was mostly wrong.
1996-09-14 03:00:32 +00:00
Adam David
a2480c3cfd install rpc header files 1996-09-01 17:54:25 +00:00
Peter Wemm
8b7156a207 'make install' is not supposed to touch anything. 1996-08-30 22:36:45 +00:00
Peter Wemm
20c5124b62 missed these parts of Bruce's changes last time..
Submitted by: bde (again :-)
1996-08-30 21:57:39 +00:00
Peter Wemm
1133312c37 echo -> ${ECHO}
do the rm -rf and ln -s in two seperate commands to allow a fork/exec
without a "sh -c" in the middle.

Submitted by: bde
1996-08-30 19:37:14 +00:00
Peter Wemm
0fd77885de Some bmake magic to clean up the install more.
fix another missed -c typo of mine.
clean the rpcgen implicit rule more

Submitted by: bde
1996-08-30 19:31:28 +00:00
Peter Wemm
74b3fad642 Hand merge in the bind-4.9.4-P1 resolver updates. 1996-08-29 20:01:00 +00:00
Peter Wemm
230a383d0d replace cmp -s || install with ${INSTALL} -C, and @for with .for 1996-08-29 19:59:48 +00:00
Peter Wemm
56de53f256 Clean up include Makefile:
- use .for loops instead of shell for loops. This means we can be
   shown what is happening while it's going, rather than some pacifier
   "echo" statement.
 - use "${INSTALL} -C", nuke the "cmp -s" hack
 - for "copies" mode,  the include files are no longer touched each time
   the world is built. (ie: no rm -rf.  symlinks are removed, mtree builds
   the new dirs or confirms the existing ones)
 - osreldate.h is build in the local dir and conditionally installed,
   rather than built in /usr/include and either renamed or deleted.
1996-08-29 19:57:48 +00:00
Garrett Wollman
83f9002e3d New version of routed.h to match new version of routed. 1996-08-27 16:21:34 +00:00
Julian Elischer
0f7d684755 Submitted by: John Birrell <cimaxp1!jb@werple.net.au>
Here are the diffs for libc_r to get it one step closer to P1003.1c
These make most of the thread/mutex/condvar structures opaque to the
user. There are three functions which have been renamed with _np
suffixes because they are extensions to P1003.1c (I did them for JAVA,
which needs to suspend/resume threads and also start threads suspended).

I've created a new header (pthread_np.h) for the non-POSIX stuff.

The egrep tags stuff in /usr/src/lib/libc_r/Makefile that I uncommented
doesn't work. I think its best to delete it. I don't think libc_r needs
tags anyway, 'cause most of the source is in libc which does have tags.

also:

Here's the first batch of man pages for the thread functions.
The diff to /usr/src/lib/libc_r/Makefile removes some stuff that was
inherited from /usr/src/lib/libc/Makefile that should only be done with
libc.

also:

I should have sent this diff with the pthread(3) man page.
It allows people to type

make -DWANT_LIBC_R world

to get libc_r built with the rest of the world. I put this in the
pthread(3) man page.  The default is still not to build libc_r.


also:
The diff attached adds a pthread(3) man page to /usr/src/share/man/man3.
The idea is that without libc_r installed, this man page will give people
enough info to know that they have to build libc_r.
1996-08-20 08:22:01 +00:00