Commit Graph

44430 Commits

Author SHA1 Message Date
itohy edb019abaf Eliminate memory leaks.
Use  xrealloc()  rather than  xmalloc/memcpy/free  trio.
1998-10-08 08:20:37 +00:00
tron c8eb5cc943 Copy "named-xfer" binary to "/usr/libexec" not to "/usr/sbin".
Fixes bin/6261 by Geoff C. Wing.
1998-10-08 07:41:57 +00:00
simonb 513ff15404 sync minor version number of libc 1998-10-08 04:36:58 +00:00
eeh b6fd7187e0 Fix more syscall32 and signal breakage. 1998-10-08 02:31:39 +00:00
eeh aba7891e3d Fix libc signal breakage (I hope). 1998-10-08 02:27:58 +00:00
wsanchez 420c1e461a *** empty log message *** 1998-10-08 02:15:14 +00:00
wsanchez 508f3bd4f6 umask()/mkdir() system calls will not set the setuid bit; the kernel intentionally
discards the high bits, so "mkdir -m 1777 foo" won't set the sticky bit. So call
  chmod() on the directory.
1998-10-08 02:14:16 +00:00
wsanchez 266388e1a4 Handle non-POSIX version of timespec. 1998-10-08 02:13:30 +00:00
wsanchez 438823cc1c Add new option -S, which is like -s, but takes a string of options to pass to strip,
rather than "-s". For example:
	install -S "-i -s symbolfile" foo /usr/bin/foo
  Invokes:
	/bin/sh -c "strip -i -s /usr/bin/foo"
  This is needed, because we need different strip options for dynamic libraries and
  Mach-O bundles than for executables; our strip supports more directed stripping.
  /bin/sh is used in this case, to parse the arguments.

Don't bother mmap()ing files of zero length. Was a workaround for a bug in our mmap(),
  which didn't get along with such files, but makes sense anyway.
1998-10-08 02:12:51 +00:00
wsanchez ef9982bb8e Cast args to strpct() u_long, as in the prototype, not ulong. 1998-10-08 02:10:36 +00:00
thorpej 0b4cfbfe6e Fix some whitespace lossage. 1998-10-08 02:06:13 +00:00
wsanchez c45946d27c Use u_int32_t rather than Sys-V u_long.
Rename err() to mtree_err(), to avoid conflict with libc.
1998-10-08 02:04:55 +00:00
wsanchez 3e7294fa8d Init dev to quiet compiler. 1998-10-08 02:01:11 +00:00
mark 8d41878215 Add pckbc device, keyboard and mouse and wskbd and wsmouse via pckbc. 1998-10-08 01:59:22 +00:00
wsanchez cc084df5da Init style to quiet compiler.
Allow zcat hard link to compress rather than using zcat.sh wrapper; same as uncompress.
Don't install zcat, however; gzcat seems to be living in /usr/bin/zcat at the moment.
1998-10-08 01:56:28 +00:00
mark d21eb4802d Rename the pckbd attribute to avoid clashing with the pckbd device
from dev/pckbc/*
Include files.pckbc
1998-10-08 01:50:28 +00:00
thorpej 14f5ac9081 Use the pool allocator for ipflow entries. 1998-10-08 01:41:45 +00:00
wsanchez 76c99f3c0a We can't define MACHINE from a makefile in Rhapsody, because you might be cross
compiling, or building a fat (multi-architecture) binary.  Our compiler
  defines __ARCHITECTURE__ for this use.
Fixed an off-by-one error that may occasionally cause man to seg fault. Found
  by using a special strict malloc() implementation.
1998-10-08 01:36:04 +00:00
wsanchez c19ec78ded Include unistd and sys/fcntl.
Add return types to functions.
1998-10-08 01:32:23 +00:00
wsanchez 1696358aa0 Didn't get along with ObjC/C++ style "//" comments. Add code to deal with that. 1998-10-08 01:31:59 +00:00
wsanchez 1a8d48f462 Add return 0 after errx in to quiet the compiler 1998-10-08 01:31:34 +00:00
wsanchez 9e44eb8cc1 Add __ppc__ test 1998-10-08 01:30:50 +00:00
wsanchez ab92b4feee Get rid of multiply defined common symbols 1998-10-08 01:30:27 +00:00
wsanchez 6f3b17afac #elsej (!) should be #else 1998-10-08 01:29:49 +00:00
wsanchez d2b96d3f77 Get rid of multiply defined common symbols
langauge should be language in error.h
1998-10-08 01:29:27 +00:00
thorpej 974aa74abd Use the pool allocator for ipqent structures. 1998-10-08 01:19:25 +00:00
ross ccc17f86dd g/c debug rule 1998-10-08 01:08:24 +00:00
ross e462ec8f09 Simplify the SRCDIR comment. 1998-10-08 00:44:16 +00:00
ross 7fc1302b5d The recent cross-compile changes broke the build of x_sh. Properly use
${.IMPSRC} instead of the broken ${.CURDIR}/thing.c.
1998-10-08 00:29:38 +00:00
erh edeeb71bd8 Add the sigaction call. 1998-10-07 23:48:04 +00:00
erh 00a3eb89be This is used on the alpha. It is called osf_sigaction under linux because of the format of the sigaction structure but it acts the same. 1998-10-07 23:47:44 +00:00
thorpej 588ccb2d75 Fix some typos in comments, and clean up some whitespace. 1998-10-07 23:33:02 +00:00
thorpej 6cfb33b4e4 Use the pool allocator for the tcpcb's TCP/IP header template. 1998-10-07 23:20:03 +00:00
aidan 2169ed2a6f An environment variable name can no longer have spaces in it. This is to
let commands of the form
* * * * * command flag=value
be interpreted as commands instead of environment settings.
1998-10-07 23:18:29 +00:00
erh 7d45dcb522 Kill the linux_old*.h includes (which are only used in the corresponding linux_old*.c). Add linux_siginfo.h. 1998-10-07 23:11:13 +00:00
erh ecdbc1172b Regen. 1998-10-07 23:08:26 +00:00
erh 358899800e Change sys_mmap to NOARGS. (args defined in linux_sys_mmap.h). Typo: siginfo_t->linux_siginfo_t. 1998-10-07 23:07:30 +00:00
erh 1a89cf484f Move linux_sys_mmap declarations to linux_mmap.h Make sure oldmmap.c includes oldmmap.h. 1998-10-07 23:06:17 +00:00
erh 8ce2ceae35 Fix typos. 1998-10-07 23:05:09 +00:00
erh a956aca8aa This needs its defines. 1998-10-07 22:58:19 +00:00
erh 47a9e7f352 Fix typos. 1998-10-07 22:50:42 +00:00
erh baf6c8420d Fix types. Kill old declarations. 1998-10-07 22:45:51 +00:00
erh c7176f00e4 The siginfo include line is not needed here anymore. 1998-10-07 22:17:57 +00:00
erh 3bd73b1ef1 Add prototype for linux_sigprocmask1(). 1998-10-07 22:13:39 +00:00
erh ddbb7b3349 sigprocmask (non-rt) version doesn't exist on alpha. rename it to sigprocmask1 for use in linux_sys_sigprocmask and linux_sys_rt_sigprocmask. 1998-10-07 22:12:48 +00:00
erh 30f959e6c6 sigprocmask (non-rt version) doesn't exist on alpha. Add it here. 1998-10-07 22:11:16 +00:00
thorpej 010b1e5215 Erg, frame -> trapframe in last. (thanks to john kohl) 1998-10-07 21:25:35 +00:00
erh 15eaa765b7 Files moved. Change the paths here. 1998-10-07 20:50:44 +00:00
ross b6553585ab g/c leftover `{' in #if notdef; it confuses ctags(1) 1998-10-07 19:09:53 +00:00
thorpej b38544d99e Oops, back out a buglet I didn't intend to commit in the last change. 1998-10-07 18:29:26 +00:00