Commit Graph

302 Commits

Author SHA1 Message Date
Mark Murray 2ca29c4475 Changes for KTH KerberosIV.
telent.h is installed from libtelnet, not the include dir.
1997-09-28 09:12:04 +00:00
Andrey A. Chernov 659ad3a4a1 Oops, fix typo in istype definition 1997-09-27 04:30:50 +00:00
Andrey A. Chernov 917065108a 1) Bring '!!' back since we wan't overflow even a char
2) Revive __maskrune, just return mask now
3) Express __istype via !!__maskrune
4) Use __maskrune in digittoint
1997-09-27 04:22:47 +00:00
Andrey A. Chernov 80fd925122 Oops, wrong version of digittoint fix was commited, step back to v1.8
instead just remove '!!' to make digittoint() work and re-arrange
things a little
1997-09-25 22:44:21 +00:00
Andrey A. Chernov 9f05e73cd2 Fix digittoint broken long ago
Redesign to allow digittoint work for runes too
__maskrune removed, __istype become a macro, __runeflags added
1997-09-25 22:27:45 +00:00
Peter Wemm 985ae608d7 Bandaid for the build-breaking reference to _BSD_RUNE_T_. I'm not sure
that this is right, but the old reference defaintely was not.
1997-09-25 03:06:19 +00:00
Julian Elischer 16f76e6f06 Submitted by: Sin'ichiro MIYATANI / Phase One, Inc <siu@phaseone.co.jp>
Basic support for the Shift JIS encoding of japanese.
(and one tiny typo fixed in a comment)
1997-09-24 20:38:12 +00:00
Bruce Evans 3b6f5a5bdd Removed installhdrs target. It was an unnecessary complication. 1997-09-16 10:52:59 +00:00
Peter Wemm c4ea5f72e6 SYSV has both <poll.h> and <sys/poll.h>. (poll.h merely #includes
sys/poll.h).  Just provide a link, it's close enough. :-)  In an ideal
world the prototype for poll() would be in <poll.h> but some code seems
to expect it in <sys/poll.h>, so we can't win there.
1997-09-14 03:32:44 +00:00
Brian Somers a367bd9e25 Add "options no_tld_query" to resolv.conf.
Mention the capability in resolver(5).
Mention that RES_OPTIONS can be used in resolver(5).
Discussed with: -hackers
1997-09-01 01:19:23 +00:00
Bruce Evans 2de8d1f69c Removed ifndef of AUTH_NONE. The conflict with login_cap.h was fixed
better by not defining AUTH_NONE in login_cap.h.
1997-08-21 19:31:04 +00:00
Bruce Evans cfca13bf11 Don't traverse subdirectories twice for normal installs. 1997-08-21 18:40:04 +00:00
Bruce Evans 41b5513403 Fix and simplify installhdrs target. It didn't install the headers in
${HFILES} and it's simpler to install the non-headers in ${XFILES}.
1997-08-21 18:33:13 +00:00
John-Mark Gurney 4604167e0a fix a problem with headers not being installed properly... basicly the
installhdrs target was not being propagated to the subdirs...

also fix rpcsvc's Makefile to have a installhdrs target to install the
headers..
1997-08-21 09:29:49 +00:00
Peter Wemm b2794e33ec Prototypes for getsid() and getpgid(). Also, prefix type names in
setpgrp() prototype with _ as per style(9).
1997-08-19 06:19:45 +00:00
Peter Wemm ef75e7acaa split beforeinstall hook up so that the header install stuff is reachable
without risking invoking ${SHARED}.
1997-08-18 06:28:47 +00:00
Steve Price fcd57f5cca Make this compile with the -traditional cc flag.
PR:		misc/2189
Submitted by:	Lars Koeller <Lars_Koeller@odie.physik2.uni-rostock.de>
1997-08-16 23:32:42 +00:00
Bill Fenner e3a52c6d4d Fix typo: "send" -> "end"
PR:		bin/3474
Submitted by:	graphix@iastate.edu (Kent Vander Velden)
1997-08-11 04:19:11 +00:00
Joerg Wunsch 37486f035f Import strptime(3) into libc. We've got permission by Kevin Ruddy to
modify the original `no modifications' copyright message, and i've
included his mail into the source file.

The common localization functions between strptime(3) and strftime(3)
have been broken out into timelocal.[ch].
1997-08-09 15:43:59 +00:00
John Polstra 7e7344e2f4 Implement dlsym(RTLD_NEXT, symbol). 1997-08-02 04:56:44 +00:00
Satoshi Asami 3b29be9bb9 Use relative symlinks so they work even when ${DESTDIR} is not empty.
Reviewed by:	jkh, bde
1997-07-31 11:32:25 +00:00
Peter Wemm 65b3003d2d kill the undead 1997-07-13 14:26:00 +00:00
Peter Wemm 4ebe87f9cc merge in bind-4.9.6 changes (only effect is __res_send #define reverted) 1997-06-27 08:32:38 +00:00
Mike Smith 750520a18c Update histedit.h to match the new libedit.
Obtained from:	NetBSD
1997-06-25 09:47:31 +00:00
Mike Smith cf44448e71 Add stringlist functions from NetBSD. (required for the new ftp(1)
Obtained from:	NetBSD
1997-06-25 08:04:52 +00:00
Andrey A. Chernov 439c8bda4b Move machine/types.h to non-standard section
Change order of arc4* functions
Pointed-by: bde
1997-06-14 10:45:25 +00:00
Andrey A. Chernov b24d5f1d6b Add arc4random family declaration 1997-06-14 01:33:52 +00:00
Andrey A. Chernov 96c31b2618 Instead of copying fallback code over and over in each program,
implement (better) falback code inside srandomdev() itself.
Change return type from int to void (binary compatibility surprisely
achieved). Userland code will be changed soon.
1997-06-14 00:14:29 +00:00
Jordan K. Hubbard b97151f21b Go to SHARED=copies by default.
Agreed-upon by:	lots-o-folks.
1997-06-05 21:20:58 +00:00
Bill Paul c3a87c6d45 Undo small change I accidentally left in while testing (files were
installed with wrong ownerships).

Pointed out by: bde
1997-05-28 16:26:05 +00:00
Bill Paul 1ec6937fdc Add new files in include/rpc. 1997-05-28 04:46:38 +00:00
Bill Paul f26dae2bb4 Resolve conflicts. 1997-05-28 04:45:15 +00:00
Bill Paul 08516c6c61 This commit was generated by cvs2svn to compensate for changes in r26209,
which included commits to RCS files with non-trunk default branches.
1997-05-28 04:42:53 +00:00
Bill Paul f7e2700f42 Step two: import Secure RPC changes to include/rpc.
Reviewed by:	Mark Murray
1997-05-28 04:42:53 +00:00
Bill Paul 9bd1654ae3 Resolve conflicts. 1997-05-28 04:38:30 +00:00
Bill Paul 3b0f74670a Hold onto your hats folks, here it comes: the first stage of the
Secure RPC import I've been threatening.

This step adds some necessary protocol definition files and headers to
rpcsvc, including the ones needed for NIS+.

Reviewed by:	Mark Murray
1997-05-28 04:35:55 +00:00
Bill Paul 4728e9f6ac This commit was generated by cvs2svn to compensate for changes in r26206,
which included commits to RCS files with non-trunk default branches.
1997-05-28 04:35:55 +00:00
John Polstra 5851a3655a Fill out the ELF header files to make them more or less complete.
Fix a macro name that was misspelled both in brandelf.c and
imgact_elf.h.
1997-05-21 23:07:31 +00:00
Peter Wemm b6e649bc7b fix missing close comment in login_cap additions 1997-05-18 08:12:14 +00:00
Peter Wemm f154fbdaa1 struct timespec needs to be useable with just <time.h>, but needs to not
conflict with the kernel visible one.  Make the new stuff not visible if
_ANSI_SOURCE or _POSIX_SOURCE is defined (!) because the new things are
not part of the base 1003.1-1990 standard (or ansi).
1997-05-13 09:33:24 +00:00
Peter Wemm 02b4ac7c05 remove stray forward declaration for struct timespec
Pointed out by: bde
1997-05-13 09:25:15 +00:00
Andrey A. Chernov 9e0eb33e2f Add clockid_t definition like in sys/types.h to allow time.h
to be included without sys/types.h, it fixes broken groff compilation
1997-05-13 09:25:03 +00:00
Peter Wemm 2c97335b81 Oops, move clock_*() and nanosleep() to time.h
Submitted by: Peter Dufault <dufault@hda.com>
1997-05-12 12:58:40 +00:00
Peter Wemm 5add7c72fa prototype clock_settime(), clock_gettime(), clock_getres(), nanosleep(). 1997-05-12 09:57:39 +00:00
Peter Wemm 3672faea8d Build osreldate.h at build time rather than install time. This fixes
a breakage with 'make reinstall' on a read-only source tree.
1997-05-12 09:50:19 +00:00
David Nugent 26b2d5c033 Removed login_cap.h, now moved to src/lib/libutil. 1997-05-10 12:50:03 +00:00
Eivind Eklund f756433e8b Back out all of yesterdays include file changes. 1997-05-07 20:01:10 +00:00
Eivind Eklund 3c9cc90091 Back out part of yesterdays changes. They were obviously not tested well
enough :-(  (With backout on this file, libc compiles.  'make world' isn't
finished yet.)

Pointed out by: Oliver Roberts
1997-05-07 19:10:49 +00:00
Eivind Eklund 48ea0bec18 Make a lot of include-files self-contained. I excluded the patches changing
int's to gid_t and uid_t - should I commit these, too?

Closes PR misc/2625.

Submitted by:	Julian Assange <proff@iq.org>
1997-05-07 02:27:18 +00:00
Bruce Evans 89ee8ac3d6 Fixed missing __P() to complete the K&R support in this header. 1997-05-07 00:58:23 +00:00
Satoshi Asami d206682bfd Don't try to install f2c'h now that it's installed from
/usr/src/usr.bin/f2c. :)
1997-04-25 09:58:24 +00:00
Jean-Marc Zucconi 18f9d8a402 This file is a duplicate of src/usr.bin/f2c/f2c.h
Reviewed by:	bde
1997-04-24 17:03:41 +00:00
Doug Rabson 7538921e31 Add protocol definitions for NFSv3. Use -DWANT_NFS3 with rpcgen to get
the new protocol.

Obtained from: rfc1813
1997-04-18 12:31:27 +00:00
Bruce Evans b2280d1b63 Fixed spelling of isnetworktty.
Fixed stray whitespace.
1997-04-14 13:33:20 +00:00
Bruce Evans c628fb0743 Fixed some style bugs. 1997-04-13 15:52:26 +00:00
Bruce Evans 15aa51b01c Removed nonstandard #include of <sys/types.h>.
Use _BSD_OFF_T_ instead of off_t so that we're still self-sufficent.

Copied the ftruncate/lseek()/mmap()/truncate() redeclaration hacks
from <sys/types.h> so that things depending on them don't break.
1997-04-13 15:50:07 +00:00
Bruce Evans fc632680ed #ifdef'ed the declaration of lseek() so that -Wredundant-decls doesn't
cause noise.

Duplicated the lseek() redeclaration hack for all functions involving
off_t's (ftruncate(), mmap() and truncate()) to help broken programs
work.
1997-04-13 15:38:10 +00:00
David Nugent 54065f6b44 Add bitflags TTY_NETWORK/TTY_DIALUP and interface functions which
make use of them.
1997-04-13 15:09:46 +00:00
Paul Richards fdca1af56c This file is deprecated not "obsoleted". 1997-04-13 11:33:17 +00:00
Jean-Marc Zucconi 8609d4594f Upgrade to the 1997/02/19 version. 1997-04-13 01:13:52 +00:00
Peter Wemm 44c1d774da Declare issetugid()
Submitted by: Dmitrij Tejblum <dima@tejblum.dnttm.rssi.ru>, PR#3200
1997-04-05 13:03:15 +00:00
Peter Wemm 61714b4e17 Declare lchown().. 1997-03-31 12:52:52 +00:00
Andrey A. Chernov 767b268b5d Add srandomdev() prototype 1997-03-23 22:44:27 +00:00
Peter Wemm 670fdefe24 Put text after #endif in a comment (it's illegal otherwise) 1997-03-14 17:53:35 +00:00
Peter Wemm c59376af7a Merge Lite2 changes -
move getopt etc declarations from stdlib.h to unistd.h
1997-03-11 11:18:25 +00:00
Peter Wemm 161f948dd3 Merge Lite2 changes
(Just version number)
1997-03-11 11:16:27 +00:00
Peter Wemm 48eaae4831 Merge Lite2 changes onto mainline:
- declare opendir2(), which is used to control how readdir() handles
 whiteouts etc.
1997-03-11 11:15:46 +00:00
Peter Wemm 76cb9ce853 This commit was generated by cvs2svn to compensate for changes in r23650,
which included commits to RCS files with non-trunk default branches.
1997-03-11 11:11:37 +00:00
Peter Wemm dee7a427ff Import CSRG 4.4BSD-Lite2 includes onto vendor branch 1997-03-11 11:11:37 +00:00
Bruce Evans 5f9b5b67b8 Don't use a dot in the chown command. In fact, don't use a chown command.
Use mtree instead of mkdir+chown+chmod to build the subdirectory hierachy.
The corresponding mtree command in src/etc/Makefile can't be relied on
because the hierachy gets blown away in the default SHARED=symlinks case.
1997-03-09 07:12:37 +00:00
Alexander Langer b7fee247fd Comment out _POSIX_THREAD_PRIORITY_SCHEDULING since it's not supported
at this time.

Reviewed by:	John Birrell <jb@cimlogic.com.au>
1997-03-04 01:30:50 +00:00
Bruce Evans 4eaa194dcd Install headers for isofs/cd9660 and msdosfs. The mount utilities need
them now that <sys/mount.h> no longer declares filesytem-specific mount
args structs.

Renamed some macros to be less ufs-centric.

Fixed order of mkdirs.  The order has been broken since the backwards
`.for' loop bug was fixed in `make' on 1996/09/21.
1997-03-02 14:06:24 +00:00
Andrey A. Chernov 3b96d4d951 increase L_cuserid because UT_NAMESIZE increased 1997-03-02 13:41:23 +00:00
Peter Wemm 79403fe300 Revert $FreeBSD$ to $Id$ 1997-02-23 09:21:14 +00:00
David Nugent a60c8a80bc Allow commonly-used "insecure" as a valid keyword in /etc/ttys.
This prevents keywords after "insecure" occurs being errnoeously
parsed as comments.
1997-02-15 05:45:00 +00:00
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