Commit Graph

1122 Commits

Author SHA1 Message Date
lukem
786b86d71b use AF_LOCAL instead of AF_UNIX 1998-07-18 05:04:35 +00:00
thorpej
ae9d36ba00 oof, fix a couple of over-zealous tabs. 1998-07-13 16:48:11 +00:00
hpeyerl
8c782053ab Add support for ATA CD changer devices like the NEC CDR-251. 1998-07-13 12:01:50 +00:00
augustss
deb00272b9 Add USB support. Supported so far:
* UHCI and OHCI host controllers on PCI
* Hubs
* HID devices withe special drivers for mouse and keyboard
* Printers
1998-07-12 19:51:55 +00:00
veego
fd0635e5c2 Remove a trailing ',' in an enum declaration. 1998-07-12 18:27:06 +00:00
nathanw
dd03358e27 tyop and speeling. 1998-07-10 23:28:31 +00:00
kleink
6fd55f2089 Move the definition of NZERO from <sys/param.h> to <sys/syslimits.h>, since
XPG3 and later require it to be made visible by inclusion of <limits.h>,
which, in turn, includes <sys/syslimits.h>.  The <sys/param.h> API is not
affected by this change, since <sys/syslimits.h> is included from there, too.
1998-07-08 19:31:33 +00:00
augustss
ab3827619d Add AudioNselect. 1998-07-06 11:11:34 +00:00
jonathan
466e784ee1 defopt DDB. 1998-07-04 22:18:13 +00:00
mjacob
7a199bc2de kern/1275: add some clarification about what fields are updated from the
tape driver. Basically, we'll report what we can for resid, dsreg will
reflect RDONLY and MOUNTED, and erreg will retain the last seen Sense Key.
An MTIOCGET will clear these.
1998-07-03 20:25:20 +00:00
thorpej
e5f49cece3 Regen: pad off_t args in pread/pwrite/preadv/pwritev. 1998-07-02 01:24:24 +00:00
thorpej
1a371b88e4 Add a forward declaration for struct iovec. 1998-07-01 00:03:23 +00:00
thorpej
924ead1c85 Prototype preadv(2) and pwritev(2) if !defined(_XOPEN_SOURCE). 1998-06-30 19:48:56 +00:00
thorpej
1f37d1d569 Regen: added pread(2), pwrite(2), preadv(2), pwritev(2). 1998-06-30 19:34:20 +00:00
thorpej
b6781dbaa2 Split up read/readv/write/writev into the system call front-end and
the guts that actually perform the I/O request.
1998-06-30 07:39:22 +00:00
thorpej
a4a34ba74a Add two additional arguments to the fileops read and write calls, a
pointer to the offset to use, and a flags word.  Define a flag that
specifies whether or not to update the offset passed by reference.
1998-06-30 05:33:11 +00:00
nathanw
30cbf42b77 Implement short corefile name support, controlled by options SHORTCORENAME
and sysctl kern.shortcorename.

Closes PR kern/5191.
1998-06-28 21:34:58 +00:00
hannken
254cc8286b Back out last change. usr.sbin/pstat/pstat.c is wrong. 1998-06-26 14:06:35 +00:00
hannken
72b3a44b78 Protect '#include "opt_*"' by '#if defined(_KERNEL)' for userland build. 1998-06-26 13:57:20 +00:00
thorpej
816e12eac2 defopt COMPAT_SVR4 1998-06-26 00:07:06 +00:00
thorpej
37b378d836 defopt COMPAT_HPUX 1998-06-25 23:56:39 +00:00
thorpej
8aee7782f5 defopt COMPAT_SUNOS 1998-06-25 23:40:33 +00:00
thorpej
c466f11939 defopt COMPAT_LINUX 1998-06-25 23:18:23 +00:00
thorpej
1a2cb1b9d4 defopt COMPAT_FREEBSD 1998-06-25 22:49:18 +00:00
thorpej
23e23646da Regen: defopt NFSSERVER 1998-06-25 22:17:21 +00:00
thorpej
5b5a9f45a5 Regen: defopt KTRACE 1998-06-25 21:16:58 +00:00
eeh
b50079a86c Addes support for sparc32plus ELF executables: v9 in v8's clothing. 1998-06-25 03:40:30 +00:00
kleink
60fa03b1ac Move the setjmp()/longjmp() prototypes inside _KERNEL protection. This is
necessary since the `label_t' type is defined for _KERNEL source only, and
there are userlevel sources (i.e. filesystem maintenance tools) that make use
of kernel source files which include this header; also, using the (different)
kernel implementations and prototypes of setjmp()/longjmp() would be wrong
for these programs.
1998-06-14 20:18:56 +00:00
tv
bbdf63fab8 The ATAPI disktype is now rather fixed in stone since a device uses it for
booting (Shark).  Add to mainline.
1998-06-13 04:20:24 +00:00
cgd
651b44e211 Rework the way kernel include files are installed. In the new method,
as with user-land programs, include files are installed by each directory
in the tree that has includes to install.  (This allows more flexibility
as to what gets installed, makes 'partial installs' easier, and gives us
more options as to which machines' includes get installed at any given
time.)  The old SYS_INCLUDES={symlinks,copies} behaviours are _both_
still supported, though at least one bug in the 'symlinks' case is
fixed by this change.  Include files can't be build before installation,
so directories that have includes as targets (e.g. dev/pci) have to move
those targets into a different Makefile.
1998-06-12 23:22:30 +00:00
jonathan
78741b6227 Definitions for PPS (Pulse-Per-Second) API. 1998-06-10 08:18:58 +00:00
thorpej
387a1c5d41 Implement config_defer(), a generic mechanism to defer the configuration
of a device until all of its parent's children have been attached.
1998-06-09 18:46:12 +00:00
thorpej
066216b812 Define RB_POWERDOWN in such a way that the system will always, at the very
least, halt if powerdown is not possible.
1998-06-06 20:24:18 +00:00
thorpej
618c279d16 Add fine-grained locking. Still one refinement to make, which will be
done in a separate commit.
1998-06-06 02:25:46 +00:00
thorpej
17243c19f1 Add RB_POWERDOWN. 1998-06-06 01:34:45 +00:00
kleink
4648a78bba Regen: addition of fdatasync(). 1998-06-05 20:36:53 +00:00
kleink
70dae9bb3a 1.3E -> 1.3F: fsync vnode operator interface changed. 1998-06-05 20:12:04 +00:00
kleink
f20fdd6f65 Define 2 flags to be passed in the `flags' argument of the fsync vnode
operator:

  * FSYNC_WAIT, which requests the synchronization operation to not return
    until completition,

  * FSYNC_DATAONLY, which is a hint: if possible, synchronize file data
    only.  If it's not feasible for a file system implementation to omit
    file status synchronization when synchronizing file data, this is ignored.
1998-06-05 19:47:00 +00:00
kleink
b5a587ab63 Regen: fsync argument change. 1998-06-05 19:41:21 +00:00
kleink
e39ca9bf6f Define MAP_FAILED, a symbolic constant which evaluates to the value returned
by mmap(2) upon failure.
1998-06-03 21:52:40 +00:00
thorpej
ff541b5e98 PRU_NREQ is the number of PRU_* requests, not the value of the last one. 1998-06-02 20:55:53 +00:00
kleink
4c3bf73d01 Regen: mlock() and munlock() prototype changes. 1998-05-30 22:23:30 +00:00
kleink
04884a2320 * Per XSH98, provide size_t and const'ify the `addr' arguments to mlock() and
munlock().
* Don't make the madvise() declaration and related definitions available to
  _POSIX_C_SOURCE or _XOPEN_SOURCE.
* Remove a bogus comment.
1998-05-30 22:18:56 +00:00
thorpej
cbd5a8ce98 Cosmetic changes. 1998-05-29 22:55:44 +00:00
augustss
98d95c4415 #define a few more useful strings. 1998-05-27 17:21:29 +00:00
explorer
6036d56ba6 Move RND_ENTROPY_THRESHOLD to sys/rnd.h. Use sha1 rather than md5, and
release the first 96 bits of the hash directly rather than by folding.
The full 160 bit hash is mixed back into the entropy pool.  This keeps
64 bits secret to stir the pool with.
1998-05-27 00:59:14 +00:00
explorer
f0a1a540cc add sha1.h to the sys directory, to be used in libkern 1998-05-27 00:45:50 +00:00
kleink
5ea3740e92 Reorganize name space protection, mostly related to interfaces introduced in
XPG 4.2.
1998-05-25 21:37:10 +00:00
kleink
89f8240aab * Define _SC_PAGESIZE, _SC_PAGE_SIZE (1170 compatibility), _SC_FSYNC and
_SC_XOPEN_SHM to query the system page size, the availability of the
  File Synchronization Option and the availability of System V style shared
  memory, respectively, at runtime.
* Define _POSIX_FSYNC to evaluate to 1, since fsync(2) is always available.
1998-05-24 20:06:08 +00:00
kleink
2a4b2482f5 Permit checking the availability of the POSIX File Synchronization Option
(a/k/a fsync(2)), System V style message queues, semaphores and shared memory
at runtime by adding a sysctl variable for each.
1998-05-24 19:52:01 +00:00