]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/log
FreeBSD/FreeBSD.git
26 years agoAugment $PATH to ensure searching of /sbin and /usr/sbin for sysctl
bde [Thu, 18 Dec 1997 21:03:04 +0000 (21:03 +0000)]
Augment $PATH to ensure searching of /sbin and /usr/sbin for sysctl
instead of using an absolute path to sysctl.
Problem reported by: ache

26 years agoInstall sysctl in /sbin. It is used in some cases in network_pass1(),
bde [Thu, 18 Dec 1997 15:34:08 +0000 (15:34 +0000)]
Install sysctl in /sbin.  It is used in some cases in network_pass1(),
before /usr is mounted if /usr has type nfs.

26 years agoRemoved extra (non-trailing) arg in a call to warnx().
bde [Thu, 18 Dec 1997 15:27:43 +0000 (15:27 +0000)]
Removed extra (non-trailing) arg in a call to warnx().

26 years agoFixed missing dependency on version.c.
bde [Thu, 18 Dec 1997 15:22:12 +0000 (15:22 +0000)]
Fixed missing dependency on version.c.

Fixed some style bugs ($@ is not recommended ...).

26 years agoOops, the previous patch was botched.
bde [Thu, 18 Dec 1997 12:56:52 +0000 (12:56 +0000)]
Oops, the previous patch was botched.

26 years agoFixed a missing splx(s) bug in tcp_usr_send().
dg [Thu, 18 Dec 1997 09:50:38 +0000 (09:50 +0000)]
Fixed a missing splx(s) bug in tcp_usr_send().

26 years agoCall in_pcballoc() at splnet(). As near as I can tell, this won't fix
dg [Thu, 18 Dec 1997 09:13:39 +0000 (09:13 +0000)]
Call in_pcballoc() at splnet(). As near as I can tell, this won't fix
any instability problems, but it was wrong nonetheless and will be
required in an upcoming round of PCB changes.

26 years agoTypo.
charnier [Thu, 18 Dec 1997 07:39:27 +0000 (07:39 +0000)]
Typo.

26 years agoAdd missing references to Xcpuast, get_isrlock and checkstate_probed_cpus
peter [Thu, 18 Dec 1997 02:09:29 +0000 (02:09 +0000)]
Add missing references to Xcpuast, get_isrlock and checkstate_probed_cpus

26 years agoReplace
brian [Thu, 18 Dec 1997 01:10:13 +0000 (01:10 +0000)]
Replace

  strcpy(a, b);  /* a and b are the same size */

with

  strncpy(a, b, sizeof(a));
  a[sizeof(a)-1] = '\0';

Making the code `correct at a glance'.

Suggested by: Theo de Raadt <deraadt@cvs.openbsd.org>

26 years ago"No reply from ppp" -> "Connection closed".
brian [Thu, 18 Dec 1997 00:29:56 +0000 (00:29 +0000)]
"No reply from ppp" -> "Connection closed".
"No reply" sounds like the message didn't get through (for
example when you `pppctl xxxx quit all'.

26 years agoDon't log the actual password when command-logging
brian [Thu, 18 Dec 1997 00:28:36 +0000 (00:28 +0000)]
Don't log the actual password when command-logging
"passwd xxxx".

26 years agoDon't depend on a u_long being 32 bits.
brian [Wed, 17 Dec 1997 21:22:05 +0000 (21:22 +0000)]
Don't depend on a u_long being 32 bits.

Pointed out by: Theo de Raadt <deraadt@cvs.openbsd.org>

26 years agochar filename[200] => char filename[MAXPATHLEN]
brian [Wed, 17 Dec 1997 21:22:01 +0000 (21:22 +0000)]
char filename[200] => char filename[MAXPATHLEN]

Pointed out by: Theo de Raadt <deraadt@cvs.openbsd.org>

26 years agoLog the source of client connections to the diagnostic port.
brian [Wed, 17 Dec 1997 21:21:56 +0000 (21:21 +0000)]
Log the source of client connections to the diagnostic port.
Disallow connections from port numbers <1024 as low port numbers
can only really mean trouble (ftp bounces etc.).

Discussed at length with: Theo de Raadt <deraadt@cvs.openbsd.org>

26 years agoRemove useless comparison.
brian [Wed, 17 Dec 1997 21:21:53 +0000 (21:21 +0000)]
Remove useless comparison.

26 years agoIf we've got a descriptor table that's bigger than an
brian [Wed, 17 Dec 1997 21:21:47 +0000 (21:21 +0000)]
If we've got a descriptor table that's bigger than an
fd_set, make sure that all descriptors >2 are closed
when we start - otherwise we're asking for a dump in
FD_SET().

Problem pointed out by: Theo de Raadt <deraadt@cvs.openbsd.org>

26 years agoo Log ******** instead of the actual password for "set authkey"
brian [Wed, 17 Dec 1997 21:21:42 +0000 (21:21 +0000)]
o Log ******** instead of the actual password for "set authkey"
  when command logging is switched on.
o Display ******** for the authkey for "show auth"
o Document how \P should be used, and document the other chat escapes
  while I'm there.
o Make sure the full command is displayed when a compound command
  fails - ie, "set novar rubbish" should say "set novar: Invalid command"
  rather than "novar: Invalid command"

Problem pointed out by: Theo de Raadt <deraadt@cvs.openbsd.org> (among others)

26 years ago<bsd.prog.mk> has always included ../Makefile.inc, and there are no
bde [Wed, 17 Dec 1997 20:22:34 +0000 (20:22 +0000)]
<bsd.prog.mk> has always included ../Makefile.inc, and there are no
complications involving .PATH or dependencies, so don't include it here.

26 years ago<bsd.prog.mk> has included ../Makefile.inc for a long time, and there
bde [Wed, 17 Dec 1997 19:57:35 +0000 (19:57 +0000)]
<bsd.prog.mk> has included ../Makefile.inc for a long time, and there
are no complications involving .PATH or dependencies, so don't include
it here.

26 years ago<bsd.prog.mk> has always included ../Makefile.inc, and there are no
bde [Wed, 17 Dec 1997 19:49:09 +0000 (19:49 +0000)]
<bsd.prog.mk> has always included ../Makefile.inc, and there are no
complications involving .PATH or dependencies, so don't include it here.

26 years agoAdd -Wno-unused so that ``make world'' can complete successfully.
wollman [Wed, 17 Dec 1997 19:38:33 +0000 (19:38 +0000)]
Add -Wno-unused so that ``make world'' can complete successfully.
GCC suppresses the warning for ``standard'' header files, but since the
headers do not come from the ``standard'' place in a ``make world'', GCC
doesn't get it.

26 years agoBSDify.
bde [Wed, 17 Dec 1997 19:32:54 +0000 (19:32 +0000)]
BSDify.

26 years ago<bsd.doc.mk> now includes ../Makefile.inc, so don't include it here.
bde [Wed, 17 Dec 1997 19:26:07 +0000 (19:26 +0000)]
<bsd.doc.mk> now includes ../Makefile.inc, so don't include it here.

26 years agoOops, rm -f can't handle empty lists.
bde [Wed, 17 Dec 1997 15:35:09 +0000 (15:35 +0000)]
Oops, rm -f can't handle empty lists.

26 years agoDPADD repairs suggested by Bruce Evans <bde@zeta.org.au>
cwt [Wed, 17 Dec 1997 15:18:54 +0000 (15:18 +0000)]
DPADD repairs suggested by Bruce Evans <bde@zeta.org.au>

26 years agoOops, rm -f can't handle empty lists.
bde [Wed, 17 Dec 1997 15:18:53 +0000 (15:18 +0000)]
Oops, rm -f can't handle empty lists.

26 years agoDon't use LDDESTDIR. Just put the -L arg in LDADD.
bde [Wed, 17 Dec 1997 15:11:43 +0000 (15:11 +0000)]
Don't use LDDESTDIR.  Just put the -L arg in LDADD.

26 years agoRevert poll() for UFS files to traditional behavior where polling for read-
wollman [Wed, 17 Dec 1997 14:44:23 +0000 (14:44 +0000)]
Revert poll() for UFS files to traditional behavior where polling for read-
or writability always returns true.  This works around bugs in netscape and
squid, at a minimum.

26 years agoDon't clean files that we don't create.
bde [Wed, 17 Dec 1997 13:40:00 +0000 (13:40 +0000)]
Don't clean files that we don't create.

Fixed style of empty test.

Include <bsd.libnames.mk> if `checkdpadd' is being made, so that it can
:e checked until it goes away.

26 years agoNormally don't include <bsd.libnames.mk>. Include it in the !aout case
bde [Wed, 17 Dec 1997 13:36:44 +0000 (13:36 +0000)]
Normally don't include <bsd.libnames.mk>.  Include it in the !aout case
(as in bsd.prog.mk).  Include it if `checkdpadd' is being made, so that
it can be checked until it goes away.

Don't clean files that we don't create.

Fixed style of empty test.

26 years agoClose some file descriptors on exec so that the inferior process gets
bde [Wed, 17 Dec 1997 13:23:51 +0000 (13:23 +0000)]
Close some file descriptors on exec so that the inferior process gets
a normal environment.  Fd's 3 and 4 were usually left open.

26 years agoUse the default LIBOWN, etc. instead of clobbering the defaults to bin,
bde [Wed, 17 Dec 1997 13:04:18 +0000 (13:04 +0000)]
Use the default LIBOWN, etc. instead of clobbering the defaults to bin,
etc., so that (this part of) `LIBOWN=... make world' can be run by users
other than root.  Actually, use BINOWN instead of LIBOWN, since the files
that we install in /usr/libdata are not libraries, and LIBOWN is not
used for anything else in /usr/libdata.

Rewrote all the rules and cleaned up.

26 years agoLIBOWN -> BINOWN, etc. There are no libraries here.
bde [Wed, 17 Dec 1997 12:38:42 +0000 (12:38 +0000)]
LIBOWN -> BINOWN, etc.  There are no libraries here.

26 years agoUse the default LIBOWN, etc. instead of clobbering the defaults to bin,
bde [Wed, 17 Dec 1997 12:31:58 +0000 (12:31 +0000)]
Use the default LIBOWN, etc. instead of clobbering the defaults to bin,
etc., so that (this part of) `LIBOWN=... make world' can be run by users
other than root.  Actually, BINOWN instead of LIBOWN, since fonts are not
libraries.  Only one owner of (non-setuid) installed files is really
supported.

26 years agoUse BINOWN, etc. instead of bin, etc. so that (this part of)
bde [Wed, 17 Dec 1997 12:04:53 +0000 (12:04 +0000)]
Use BINOWN, etc. instead of bin, etc. so that (this part of)
`BINOWN=... make world' can be run by users other than root.

26 years agoFixed missing DPADD by removing empty LDADD.
bde [Wed, 17 Dec 1997 11:13:26 +0000 (11:13 +0000)]
Fixed missing DPADD by removing empty LDADD.

26 years agoFixed building with NOSHARED=YES. libncurses depends on libmytinfo but
bde [Wed, 17 Dec 1997 10:06:51 +0000 (10:06 +0000)]
Fixed building with NOSHARED=YES.  libncurses depends on libmytinfo but
libmytinfo was not mentioned explicitly.  The bug was hidden by the
linkage of libncurses to libmytinfo in the shared library case.

26 years agoRegenerate (fix argument of linux_nice).
kato [Wed, 17 Dec 1997 03:16:11 +0000 (03:16 +0000)]
Regenerate (fix argument of linux_nice).

26 years agoI should not edit linux_prot.h directly. Fix the argument of linux_nice.
kato [Wed, 17 Dec 1997 03:12:35 +0000 (03:12 +0000)]
I should not edit linux_prot.h directly.  Fix the argument of linux_nice.

Pointed out by: Eivind Eklund <eivind@FreeBSD.ORG>
NOPROTO LINUX { int getpgrp(void); }
66 NOPROTO LINUX { int setsid(void); }
67 STD LINUX { int linux_sigaction(int sig, \
    struct linux_sigaction *nsa, \
    struct linux_sigaction *osa); }
68 STD LINUX { int linux_siggetmask(void); }
69 STD LINUX { int linux_sigsetmask(linux_sigset_t mask); }
70 NOPROTO LINUX { int setreuid(int ruid, int euid); }
71 NOPROTO LINUX { int setregid(int rgid, int egid); }
72 STD LINUX { int linux_sigsuspend(int restart, \
    linux_sigset_t oldmask, linux_sigset_t mask); }
73 STD LINUX { int linux_sigpending(linux_sigset_t *mask); }
74 NOPROTO LINUX { int osethostname(char *hostname, \
    u_int len);}
75 NOPROTO LINUX { int osetrlimit(u_int which, \
    struct ogetrlimit *rlp); }
76 NOPROTO LINUX { int ogetrlimit(u_int which, \
    struct ogetrlimit *rlp); }
77 NOPROTO LINUX { int getrusage(int who, struct rusage *rusage); }
78 NOPROTO LINUX { int gettimeofday(struct timeval *tp, \
    struct timezone *tzp); }
79 NOPROTO LINUX { int settimeofday(struct timeval *tp, \
    struct timezone *tzp); }
80 NOPROTO LINUX { int getgroups(u_int gidsetsize, gid_t *gidset); }
81 NOPROTO LINUX { int setgroups(u_int gidsetsize, gid_t *gidset); }
82 STD LINUX { int linux_select(struct linux_select_argv *ptr); }
83 STD LINUX { int linux_symlink(char *path, char *to); }
84 NOPROTO LINUX { int ostat(char *path, struct ostat *up); }
85 STD LINUX { int linux_readlink(char *name, char *buf, \
    int count); }
86 STD LINUX { int linux_uselib(char *library); }
87 NOPROTO LINUX { int swapon(char *name); }
88 NOPROTO LINUX { int reboot(int opt); }
89 STD LINUX { int linux_readdir(int fd, struct linux_dirent *dent, \
    unsigned int count); }
90 STD LINUX { int linux_mmap(struct linux_mmap_argv *ptr); }
91 NOPROTO LINUX { int munmap(caddr_t addr, int len); }
92 STD LINUX { int linux_truncate(char *path, long length); }
93 NOPROTO LINUX { int oftruncate(int fd, long length); }
94 NOPROTO LINUX { int fchmod(int fd, int mode); }
95 NOPROTO LINUX { int fchown(int fd, int uid, int gid); }
96 NOPROTO LINUX { int getpriority(int which, int who); }
97 NOPROTO LINUX { int setpriority(int which, int who, int prio); }
98 NOPROTO LINUX { int profil(caddr_t samples, u_int size, \
    u_int offset, u_int scale); }
99 STD LINUX { int linux_statfs(char *path, \
    struct linux_statfs_buf *buf); }
100 STD LINUX { int linux_fstatfs(int fd, \
    struct linux_statfs_buf *buf); }
101 STD LINUX { int linux_ioperm(unsigned int lo, \
    unsigned int hi, int val); }
102 STD LINUX { int linux_socketcall(int what, void *args); }
103 STD LINUX { int linux_ksyslog(int what); }
104 STD LINUX { int linux_setitimer(u_int which, \
    struct itimerval *itv, struct itimerval *oitv); }
105 STD LINUX { int linux_getitimer(u_int which, \
    struct itimerval *itv); }
106 STD LINUX { int linux_newstat(char *path, \
    struct linux_newstat *buf); }
107 STD LINUX { int linux_newlstat(char *path, \
    struct linux_newstat *buf); }
108 STD LINUX { int linux_newfstat(int fd, struct linux_newstat *buf); }
109 STD LINUX { int linux_uname(struct linux_old_utsname *up); }
110 STD LINUX { int linux_iopl(int level); }
111 STD LINUX { int linux_vhangup(void); }
112 STD LINUX { int linux_idle(void); }
113 STD LINUX { int linux_vm86(void); }
114 STD LINUX { int linux_wait4(int pid, int *status, \
    int options, struct rusage *rusage); }
115 STD LINUX { int linux_swapoff(void); }
116 STD LINUX { int linux_sysinfo(void); }
117 STD LINUX { int linux_ipc(int what, int arg1, int arg2, int arg3, \
    caddr_t ptr); }
118 NOPROTO LINUX { int fsync(int fd); }
119 STD LINUX { int linux_sigreturn(struct linux_sigcontext *scp); }
access

26 years agoWarn if ISC-DHCP not available.
pst [Wed, 17 Dec 1997 01:57:18 +0000 (01:57 +0000)]
Warn if ISC-DHCP not available.

26 years agoRemove an unnecessary (and wrong) cast.
brian [Wed, 17 Dec 1997 00:26:58 +0000 (00:26 +0000)]
Remove an unnecessary (and wrong) cast.

26 years agoFix a potential overflow where, if the label passed on the command
brian [Wed, 17 Dec 1997 00:19:25 +0000 (00:19 +0000)]
Fix a potential overflow where, if the label passed on the command
line is > LINE_LEN (512 bytes), we scribble (*blush*).

Hinted at by: Theo de Raadt <deraadt@cvs.openbsd.org>

Change sprintf(buf, "fixedstring") to strcpy(buf, "fixedstring").

26 years agoEXT2FS and MSDOSFS to the opt_dontuse bin.
eivind [Tue, 16 Dec 1997 23:59:37 +0000 (23:59 +0000)]
EXT2FS and MSDOSFS to the opt_dontuse bin.

26 years agoFix my typo.
eivind [Tue, 16 Dec 1997 22:50:18 +0000 (22:50 +0000)]
Fix my typo.

Submitted by: helbig

26 years agoMake LINT compile again after wollman introduced poll() here.
eivind [Tue, 16 Dec 1997 22:28:26 +0000 (22:28 +0000)]
Make LINT compile again after wollman introduced poll() here.

Overlooked by: wollman

26 years agoRegenerate after changing makesyscalls.sh.
eivind [Tue, 16 Dec 1997 22:27:22 +0000 (22:27 +0000)]
Regenerate after changing makesyscalls.sh.

26 years agoTypo alert (cosmetic).
jraynard [Tue, 16 Dec 1997 22:23:52 +0000 (22:23 +0000)]
Typo alert (cosmetic).

26 years agoMove around opt_compat include to accomodate Linulator brokenness (for
eivind [Tue, 16 Dec 1997 18:51:45 +0000 (18:51 +0000)]
Move around opt_compat include to accomodate Linulator brokenness (for
the time being).

26 years agoMake hidden COMPAT_43 dependencies explict. Options in headers is a
eivind [Tue, 16 Dec 1997 18:49:23 +0000 (18:49 +0000)]
Make hidden COMPAT_43 dependencies explict.  Options in headers is a
pain in the backside.

26 years agoHandle COMPAT_43 define -> option change.
eivind [Tue, 16 Dec 1997 18:45:50 +0000 (18:45 +0000)]
Handle COMPAT_43 define -> option change.

26 years agoRemoved gross dir file bootstrap rule again. It would break building
bde [Tue, 16 Dec 1997 18:29:48 +0000 (18:29 +0000)]
Removed gross dir file bootstrap rule again.  It would break building
when there is no /usr/src/share/info if it were actually used.

Added comments to explain duplicated tex commands.

Use substitution in IFILENS to simplify some things.

Removed /g from many substitutions.  It is bogus for anchored matches.

Don't echo nothing.

Don't add things that wouldn't be built with the current options to
CLEANFILES (except for some cases involving tex).
Reviewed by: wosch

26 years agoWhoops - fix this after yesterday's IPX option changes. Also fix
eivind [Tue, 16 Dec 1997 18:28:07 +0000 (18:28 +0000)]
Whoops - fix this after yesterday's IPX option changes.  Also fix
minor buglet when neither bsdcomp, deflate or filter is used.

Pointed out by: Chris Timmons <skynyrd@opus.cts.cwu.edu>

26 years agoFixed DPADD.
bde [Tue, 16 Dec 1997 17:53:39 +0000 (17:53 +0000)]
Fixed DPADD.

26 years agoFixed DPADD.
bde [Tue, 16 Dec 1997 17:43:33 +0000 (17:43 +0000)]
Fixed DPADD.

26 years agoMake COMPAT_43 and COMPAT_SUNOS new-style options.
eivind [Tue, 16 Dec 1997 17:40:42 +0000 (17:40 +0000)]
Make COMPAT_43 and COMPAT_SUNOS new-style options.

26 years agoFixed DPADD.
bde [Tue, 16 Dec 1997 17:37:23 +0000 (17:37 +0000)]
Fixed DPADD.

Don't override the (correct) default for SRCS or MAN1.

Replaced bogus Lite1 (?) Id by $Id$.  The key server files were
mis-imported so it is hard to tell where they came from, but at
least in Lite2 they don't have useful Makefiles, and I rewrote
most of the Makefile.

26 years agoFixed DPADD. ${LIBGCC} must be added explicitly since the default
bde [Tue, 16 Dec 1997 16:36:43 +0000 (16:36 +0000)]
Fixed DPADD.  ${LIBGCC} must be added explicitly since the default
linkage rule is overridden.  The -L option must be in ${DPADD} so that
`make checkdpadd' works.  Actually use ${DPADD}.

FIxed missing dependencies for doscmd.  Use ${LIBCRT0} instead of a
hard-coded path in the rule for doscmd.

Added comments about the kludges used to build 2 binaries and 2 data
files in one directory.  It shouldn't be done this way.  The dependencies
on sources took extra work to get right, and the dependencies on objects
are still broken (one set is missing and the other has the wrong libs).

Fixed some style bugs while I'm here:
- don't override the (correct) default for MAN1.
- use `beforeinstall', not `afterinstall' to install auxiliary files.
  `afterinstall' is for fixing messes made by `install'.

26 years agoFix bug where a struct buf was free()'d back to the system malloc pool.
dg [Tue, 16 Dec 1997 15:40:29 +0000 (15:40 +0000)]
Fix bug where a struct buf was free()'d back to the system malloc pool.
Quite amazing that the system runs at all with this bug. Also present in
2.2.5. The bug appears to have come in with changes in rev 1.53.

PR: might fix PR#5313
Submitted by: bde

26 years agoFixed DPADD.
bde [Tue, 16 Dec 1997 15:03:14 +0000 (15:03 +0000)]
Fixed DPADD.

26 years agoFixed missing DPADD.
bde [Tue, 16 Dec 1997 14:42:08 +0000 (14:42 +0000)]
Fixed missing DPADD.
Fixed some style bugs while I'm here (don't override the (correct)
default for MAN1).

26 years agoDon't use PG_N if EPSON PC-486HX/HG/HA (PC-9801 compatible) are
kato [Tue, 16 Dec 1997 10:22:49 +0000 (10:22 +0000)]
Don't use PG_N if EPSON PC-486HX/HG/HA (PC-9801 compatible) are
detected.  These machine cannot make L2 cache write-through by PG_N,
and only I/O access (undocumented) can do that.  If PG_N is used,
system hangs.

Reviewed by: tos@fa2.so-net.or.jp (Toshiyuki Kawashima)

26 years agoOne more ctype cast
ache [Tue, 16 Dec 1997 08:58:15 +0000 (08:58 +0000)]
One more ctype cast

26 years agoAdd more (unsigned char) casts to ctype macros
ache [Tue, 16 Dec 1997 08:22:37 +0000 (08:22 +0000)]
Add more (unsigned char) casts to ctype macros

26 years agoAdd (unsigned char) cast to ctype macro
ache [Tue, 16 Dec 1997 08:17:26 +0000 (08:17 +0000)]
Add (unsigned char) cast to ctype macro

26 years agoRemove the UK phone codes from inter.phone and create
brian [Tue, 16 Dec 1997 04:05:14 +0000 (04:05 +0000)]
Remove the UK phone codes from inter.phone and create
uk.phone (in line with na.phone).  This is a more detailed
list than the one in inter.phone.

Add uk.postcodes.  I've prefixed it with `uk' to leave room
for (maybe) au.postcodes etc. (if someone feels so inclined).

Obtained from: http://www.brainstorm.co.uk/public/utils
Ok'd to use by: steve@brainstorm.co.uk (Steve Crook)

26 years agoAdd support for explicit 3C589D varients and XJ1336 modems
pst [Tue, 16 Dec 1997 02:43:26 +0000 (02:43 +0000)]
Add support for explicit 3C589D varients and XJ1336 modems

26 years agoSupport ISC-DHCP if the package is available.
pst [Tue, 16 Dec 1997 02:25:36 +0000 (02:25 +0000)]
Support ISC-DHCP if the package is available.

26 years agoWrap long lines
brian [Tue, 16 Dec 1997 00:32:35 +0000 (00:32 +0000)]
Wrap long lines
Submitted by: Greg Lehey <grog@lemis.com>

26 years agoI'd swore I added this on my prior mega-commit. Any chance adds aren't
cwt [Mon, 15 Dec 1997 23:40:54 +0000 (23:40 +0000)]
I'd swore I added this on my prior mega-commit.  Any chance adds aren't
processed during the recursive swoop?

Makefile for global's private library, complete with null install rule
to keep this private.

26 years agoAdd lib/Makefile and adjust as necessary to build global 2.2.1 from contrib sources.
cwt [Mon, 15 Dec 1997 23:34:57 +0000 (23:34 +0000)]
Add lib/Makefile and adjust as necessary to build global 2.2.1 from contrib sources.

26 years agoCorrect return values from alias routines.
brian [Mon, 15 Dec 1997 23:34:05 +0000 (23:34 +0000)]
Correct return values from alias routines.

26 years agoRemove extra cruft. The previouos commit silently removed source ifles no longer...
cwt [Mon, 15 Dec 1997 23:27:04 +0000 (23:27 +0000)]
Remove extra cruft.  The previouos commit silently removed source ifles no longer required as of v2.2.1 as well.

26 years agoResolve -Wall issues and be stylistic about #include directives.
cwt [Mon, 15 Dec 1997 23:23:35 +0000 (23:23 +0000)]
Resolve -Wall issues and be stylistic about #include directives.

26 years agoMerge and resolve conflicts...
cwt [Mon, 15 Dec 1997 23:13:53 +0000 (23:13 +0000)]
Merge and resolve conflicts...

26 years agoThis commit was generated by cvs2svn to compensate for changes in r31750,
cwt [Mon, 15 Dec 1997 23:08:46 +0000 (23:08 +0000)]
This commit was generated by cvs2svn to compensate for changes in r31750,
which included commits to RCS files with non-trunk default branches.

26 years agoImport of virgin Global v2_2_1 sources
cwt [Mon, 15 Dec 1997 23:08:46 +0000 (23:08 +0000)]
Import of virgin Global v2_2_1 sources

26 years agoConvert SUIDDIR fully to a new-style option.
eivind [Mon, 15 Dec 1997 21:51:45 +0000 (21:51 +0000)]
Convert SUIDDIR fully to a new-style option.

Forgotten by: julian

26 years agoRemove cal, add ncal.
helbig [Mon, 15 Dec 1997 20:52:24 +0000 (20:52 +0000)]
Remove cal, add ncal.

26 years agoIt's more portable to use <errno.h> than <sys/errno.h>
eivind [Mon, 15 Dec 1997 20:37:43 +0000 (20:37 +0000)]
It's more portable to use <errno.h> than <sys/errno.h>

Pointed-out-by: bde (a long while ago)

26 years agoThis commit was generated by cvs2svn to compensate for changes in r31744,
helbig [Mon, 15 Dec 1997 20:35:22 +0000 (20:35 +0000)]
This commit was generated by cvs2svn to compensate for changes in r31744,
which included commits to RCS files with non-trunk default branches.

26 years agoAdd new command ncal.
helbig [Mon, 15 Dec 1997 20:35:22 +0000 (20:35 +0000)]
Add new command ncal.

26 years agoRevert 1.15 - duplicate code (initialization).
eivind [Mon, 15 Dec 1997 20:34:52 +0000 (20:34 +0000)]
Revert 1.15 - duplicate code (initialization).

Pointed-out-by: bde

26 years agoThrow options IPX, IPXIP and IPTUNNEL into opt_ipx.h.
eivind [Mon, 15 Dec 1997 20:31:25 +0000 (20:31 +0000)]
Throw options IPX, IPXIP and IPTUNNEL into opt_ipx.h.

The #ifdef IPXIP in netipx/ipx_if.h is OK (used from ipx_usrreq.c and
ifconfig.c only).

I also fixed a typo IPXTUNNEL -> IPTUNNEL (and #ifdef'ed out the code
inside, as it never could have compiled - doh.)

26 years agoAdd libcalendar
helbig [Mon, 15 Dec 1997 20:30:38 +0000 (20:30 +0000)]
Add libcalendar

26 years agoUse LogWARN for command usage messages and unrecognised
brian [Mon, 15 Dec 1997 20:21:47 +0000 (20:21 +0000)]
Use LogWARN for command usage messages and unrecognised
commands, not LogCOMMAND.

26 years agoDo 2 passes when "delete all"ing. The first pass removes
brian [Mon, 15 Dec 1997 20:21:15 +0000 (20:21 +0000)]
Do 2 passes when "delete all"ing.  The first pass removes
all RTF_WASCLONED routes, and the second removes the
others.  This avoids the situation where we've added an
RTF_CLONING route (such as ``default''), created some
clones, then deleted the CLONING route before the
WASCLONED route(s).  Without the two passes, we get
errno (not rtm_errno) set to ESRCH when deleting the
WASCLONED route, despite the deletion succeeding !

Also:
  Enhance the route operation failure diagnostics.
  Make portability #ifdefs a bit more generic.

26 years agoSync with sys/i386/i386/microtime.s revision 1.35.
kato [Mon, 15 Dec 1997 08:37:13 +0000 (08:37 +0000)]
Sync with sys/i386/i386/microtime.s revision 1.35.

26 years agoCosmetic in usage string.
charnier [Mon, 15 Dec 1997 07:19:41 +0000 (07:19 +0000)]
Cosmetic in usage string.

26 years agoAs described by the submitter:
msmith [Mon, 15 Dec 1997 06:09:11 +0000 (06:09 +0000)]
As described by the submitter:

These patches enables us to play quake2 .

Support linux keyboard ioctl for setting RAW, MEDIUMRAW and XLATE.

Support linux virtual terminal operations:
 OPENQRY, GETMODE, SETMODE, GETSTATE, ACTIVATE, and WAITACTIVE.

Submitted by: Amancio Hasty <hasty@rah.star-gate.com>

26 years agoFix a recursive kernel_map lock problem in vm_zone allocator.
dyson [Mon, 15 Dec 1997 05:16:09 +0000 (05:16 +0000)]
Fix a recursive kernel_map lock problem in vm_zone allocator.
PR: 5298

26 years ago- Fix some very minor typos.
nate [Mon, 15 Dec 1997 04:38:15 +0000 (04:38 +0000)]
- Fix some very minor typos.

26 years agoAdd support for poll(2) on files. vop_nopoll() now returns POLLNVAL
wollman [Mon, 15 Dec 1997 03:09:59 +0000 (03:09 +0000)]
Add support for poll(2) on files.   vop_nopoll() now returns POLLNVAL
if one of the new poll types is requested; hopefully this will not break
any existing code.  (This is done so that programs have a dependable
way of determining whether a filesystem supports the extended poll types
or not.)

The new poll types added are:

POLLWRITE - file contents may have been modified
POLLNLINK - file was linked, unlinked, or renamed
POLLATTRIB - file's attributes may have been changed
POLLEXTEND - file was extended

Note that the internal operation of poll() means that it is impossible
for two processes to reliably poll for the same event (this could
be fixed but may not be worth it), so it is not possible to rewrite
`tail -f' to use poll at this time.

26 years agoOops, I forgot to set `cflag' in some cases when initializing the
yokota [Mon, 15 Dec 1997 02:57:45 +0000 (02:57 +0000)]
Oops, I forgot to set `cflag' in some cases when initializing the
mouse port.

26 years agoConsult sa_len before trampling it with MSG_COMPAT set.
msmith [Mon, 15 Dec 1997 02:29:11 +0000 (02:29 +0000)]
Consult sa_len before trampling it with MSG_COMPAT set.
PR:             kern/5291
Submitted by:   pb@fasterix.freenix.org (Pierre Beyssac)

26 years agoAdd support for low resolution SMP kernel profiling.
tegge [Mon, 15 Dec 1997 02:18:35 +0000 (02:18 +0000)]
Add support for low resolution SMP kernel profiling.

  - A nonprofiling version of s_lock (called s_lock_np) is used
    by mcount.

  - When profiling is active, more registers are clobbered in
    seemingly simple assembly routines. This means that some
    callers needed to save/restore extra registers.

  - The stack pointer must have space for a 'fake' return address
    in idle, to avoid stack underflow.

26 years agoFix recursion problem which occurs when a signal is received during
jb [Mon, 15 Dec 1997 02:12:42 +0000 (02:12 +0000)]
Fix recursion problem which occurs when a signal is received during
a malloc. The signal handler creates a thread which requires a malloc...
For now, the only thing to do is to block signals. When we move user
pthreads to use the kernel threads, mutexes will be implemented in kernel
space and then malloc can revert.

26 years agoDon't forward hardclock or statclock to stopped cpus. Disable forwarding
tegge [Mon, 15 Dec 1997 01:14:10 +0000 (01:14 +0000)]
Don't forward hardclock or statclock to stopped cpus. Disable forwarding
when a panic has occured.

26 years agoExplicitly use the _IOC macro directly. This changes the ioctl command
sef [Mon, 15 Dec 1997 00:29:41 +0000 (00:29 +0000)]
Explicitly use the _IOC macro directly.  This changes the ioctl command
numbers, so any programs using it need to be recompiled.

26 years agoMake gzipped dynamically linked executables work again. There was
jdp [Sun, 14 Dec 1997 19:36:24 +0000 (19:36 +0000)]
Make gzipped dynamically linked executables work again.  There was
an old bug here that failed to copy the a.out header into memory
properly.  It didn't matter until changes were made recently to
the dynamic linker.