Commit Graph

1500 Commits

Author SHA1 Message Date
simonb
17fbcfa746 Mark /usr/include/sys/systm.h as obsolete. 2005-10-30 23:35:55 +00:00
elad
b7218637af Don't remove /usr/include/rmd160.h.
Noted by wiz@.
2005-10-06 23:39:26 +00:00
wiz
5219255abf getfsent(3) does not contain any information about the (nonexisting)
function getfstype(), so don't MLINK it. Remove getfstype from other
places that reference it too.

Noted by jmc@openbsd.
2005-10-03 14:56:32 +00:00
yamt
a13c4821e3 mark runtime obsolete. 2005-10-01 04:11:19 +00:00
rpaulo
57f605ecda Add sysexits.3 man page. 2005-09-30 20:57:15 +00:00
jmcneill
9292caa332 Add sys/gpio.h 2005-09-27 02:37:03 +00:00
tron
074df7771e Add manual pages MD2FileChunk(3), MD2Transform(3) and SHA1FileChunk(3). 2005-09-26 12:24:13 +00:00
christos
395c3f1569 getenv_r and ttyname_r 2005-09-25 20:11:03 +00:00
elad
1831cf63ac New home for rmd160.h. 2005-09-25 14:27:26 +00:00
jmmv
b0085cab71 Kill the tmpfs(9) manual page; it was just documenting internal details of
tmpfs' "API" and was already rotting.

Instead, merge all the relevant comments into the code.  This includes
acknowledgements to Google's Summer of Code 2005 program (they were in the
AUTHORS section of tmpfs(9) before), so all the files need to be changed
to include this sentence alongside the title.  (Note that this was not a
requirement of the program.)
2005-09-23 15:36:15 +00:00
jmmv
2a3e5eeb7c Apply the NFS exports list rototill patch:
- Remove all NFS related stuff from file system specific code.
- Drop the vfs_checkexp hook and generalize it in the new nfs_check_export
  function, thus removing redundancy from all file systems.
- Move all NFS export-related stuff from kern/vfs_subr.c to the new
  file sys/nfs/nfs_export.c.  The former was becoming large and its code
  is always compiled, regardless of the build options.  Using the latter,
  the code is only compiled in when NFSSERVER is enabled.  While doing this,
  also make some functions in nfs_subs.c conditional to NFSSERVER.
- Add a new command in nfssvc(2), called NFSSVC_SETEXPORTSLIST, that takes a
  path and a set of export entries.  At the moment it can only clear the
  exports list or append entries, one by one, but it is done in a way that
  allows setting the whole set of entries atomically in the future (see the
  comment in mountd_set_exports_list or in doc/TODO).
- Change mountd(8) to use the nfssvc(2) system call instead of mount(2) so
  that it becomes file system agnostic.  In fact, all this whole thing was
  done to remove a 'XXX' block from this utility!
- Change the mount*, newfs and fsck* userland utilities to not deal with NFS
  exports initialization; done internally by the kernel when initializing
  the NFS support for each file system.
- Implement an interface for VFS (called VFS hooks) so that several kernel
  subsystems can run arbitrary code upon receipt of specific VFS events.
  At the moment, this only provides support for unmount and is used to
  destroy NFS exports lists from the file systems being unmounted, though it
  has room for extension.

Thanks go to yamt@, chs@, thorpej@, wrstuden@ and others for their comments
and advice in the development of this patch.
2005-09-23 12:10:31 +00:00
simonb
5de1cebf91 Mark <sys/tprintf.h> as obsolete. 2005-09-19 03:16:40 +00:00
wiz
c4b850a8a6 Add man page for l{,l}rint{,f}(3), very loosely based on the FreeBSD one.
Requested by martin@
Reviewed by drochner@
2005-09-16 15:26:47 +00:00
elad
30cf53ba56 Fix copy/paste.
From Ralf Huvendiek, thanks!
2005-09-14 19:58:57 +00:00
elad
8d6270e665 Introduce pw_policy(3), an easily extendable way of defining password
policies and enforcing them in programs.

Man-page written with much help and tips from David Maxwell, Hubert
Feyrer, and Thomas Klausner.

This bumps libutil minor to 7.

XXX: Need default policy to go in /etc/passwd.conf, and integration
     into local/yp/PAM password changing code.

PR/10206.
2005-09-14 11:36:52 +00:00
jmmv
ec93365612 Initial addition of tmpfs, an efficient memory file-system. This project
was developed as part of Google's Summer of Code 2005 program.  This
change adds the kernel code, the mount_tmpfs utility, a regression test
suite and does all other related changes to integrate these.

The file-system is still *experimental*.  Therefore, it is disabled by
default in all kernels.  However, as typically done, a commented-out
entry is added in them to ease its setup.

Note that I haven't commited the required mountd(8) changes to be able
to export tmpfs file-systems because NFS support is still very unstable
and because, before enabling it, I'd like to do some other changes.

OK'ed by my project mentor, William Studenmund (wrstuden@).
2005-09-10 19:20:48 +00:00
taca
7fb995c950 Add ioctl_copyin(9) and ioctl_copyout(9) for catman pages. 2005-08-29 05:40:17 +00:00
reinoud
f4a3f04cb2 Create functions ioctl_copyin() and ioctl_copyout(). They are meant to be
used in ioctl routines to do the right thing when the FKIOCTL flag is
passed to the IOCTL routine indicating its a in-kernel VOP_IOCTL call and
indirect addresses provided in the arguments are to be seen as kernel
adresses rather than userland adresses.

A simple substitution and prepending of the `flags' passed on to the ioctl
handler is enough to DTRT.
2005-08-28 20:58:14 +00:00
thorpej
e1afed9c2d Experimental support for extended attributes on UFS1 file systems, using a
backing file per attribute type indexed by inode number to hold the extended
attributes.

This is working pretty well on my test systems, except for the "autostart"
feature.  I need someone with a better handle on the VFS locking protocol
to go over that.

This is a work-in-progress.  There are parts of this that could be re-factored
allowing this approach to be used on other types of file systems.

Adapted from FreeBSD.
2005-08-28 19:37:58 +00:00
elad
dc175888db Add SHA2 man-pages. 2005-08-23 17:47:07 +00:00
yamt
565285f75f add M_MOVE_PKTHDR.[09] 2005-08-23 09:38:17 +00:00
yamt
0d8b16f3a1 sort. 2005-08-23 09:36:47 +00:00
tron
dfad02ecbb Add "./usr/include/crypto/sha2.h". 2005-08-21 15:37:57 +00:00
yamt
5585c58579 mark disk_init.9 obsolete. 2005-08-14 12:04:23 +00:00
xtraeme
2b485204d1 Add /usr/include/sys/tape.h 2005-08-07 16:57:12 +00:00
agc
42d12839e1 Add sys_siglist.0 2005-07-28 23:16:39 +00:00
christos
e9e222a95c Update for strerror_r changes:
1. new man pages
2. bump libc.
2005-07-28 16:28:51 +00:00
christos
6553bf780e man pages for log2 and log2f 2005-07-21 12:58:47 +00:00
pooka
1883c5ec12 VFS_STATFS.{0,9} -> VFS_STATVFS.{0,9} 2005-07-20 11:36:39 +00:00
wiz
4ae24708bf Mark /usr/include/dev/ieee1394/fwiso_ioctl.h as obsolete (not installed
any longer).
2005-07-12 11:40:29 +00:00
dyoung
9063402978 Resolve conflicts in importation of 18-May-2005 ath(4) / net80211(9)
from FreeBSD.  Introduce compatibility shims (sys/dev/ic/ath_netbsd.[ch],
sys/net80211/ieee80211_netbsd.[ch]).  Update drivers (an, atu, atw,
awi, ipw, iwi, rtw, wi) for the new net80211(9) API.
2005-06-22 06:14:51 +00:00
thorpej
7adddd1b69 Move common Sun3/Sun4 EEPROM definitions in to <dev/sun/eeprom.h> 2005-06-19 20:23:48 +00:00
thorpej
15adcb96b8 Move common Sun ID PROM definitions into <dev/sun/idprom.h>. 2005-06-19 20:00:28 +00:00
peter
d80b2c49e3 Typo, noted by Asmodehn Shade on -current-users. 2005-06-18 21:25:14 +00:00
peter
d4cc3cce89 Create links for pthread_attr_setschedparam.3
and pthread_attr_getschedparam.3 to pthread_attr.3.

From Igor Sobrado in PR/29997.
2005-06-17 18:37:24 +00:00
peter
e17db753e7 Mark as obsolete:
pthread_barierattr_destroy.*, pthread_barierattr_init.*

Add:
pthread_barrierattr_destroy.*, pthread_barrierattr_init.*

PR/29997 from Igor Sobrado.
2005-06-17 18:26:22 +00:00
is
7452bc547d Move ld and libbfd (needed by modload) to base, so that a base-only
system can load kernel modules.
2005-06-07 14:27:42 +00:00
martin
e9f82d8da2 fix typo 2005-06-06 05:20:05 +00:00
thorpej
5ecc953bdb config and genassym are not sysadmin tools, they are development tools.
As such, they don't belong in /usr/sbin, but rather /usr/bin.  Move them
there.
2005-06-05 18:19:52 +00:00
christos
d84ea6a23c Add genassym. 2005-05-31 11:38:31 +00:00
christos
b47254f6d8 Add genassym. 2005-05-31 03:50:14 +00:00
kleink
3a2b4d4dd7 * Factor out fd_set and related definitions from <sys/types.h> to
<sys/fd_set.h>.  Still include it from <sys/types.h> for _NETBSD_SOURCE,
  and amke <sys/select.h> use it instead of <sys/types.h>.
* Instead of including <string.h> for memset()/memcpy() (or adding their
  declarations locally), make FD_ZERO()/FD_COPY() use GCC builtins if
  available, or define them inline otherwise.
Approved by Christos.
2005-05-22 12:44:24 +00:00
christos
8adc5f9efb add t_putws 2005-05-15 21:12:53 +00:00
christos
406fc04640 add new stdio wide functions. 2005-05-14 23:58:51 +00:00
tron
12c1fb5b6d "loadfile_machdep.h" should not be installed as pointed out by
Izumi Tsutsui. This needs to be fixed in the build process.
2005-05-03 08:24:15 +00:00
tron
450260eeec Install "loadfile_machdep.h" to fix build of "libsa". 2005-05-02 12:31:08 +00:00
martti
840228057a Install netinet/ipl.h (bin/30095) 2005-05-01 14:57:27 +00:00
agc
dc9630d5b3 Mark ./usr/share/locale/no@nynorsk/LC_MESSAGES/gettext.mo as obsolete. Really. 2005-04-30 14:26:38 +00:00
wiz
9b93dfd77c obsolete...obsolete... (i.e. make both keywords contain obsolete). 2005-04-29 21:08:13 +00:00
christos
d097b35f6f adjust for new gettext. 2005-04-29 15:27:33 +00:00
wiz
2b16d52f32 For obsolete files, make sure that both words behind the pathname contain
"obsolete".
2005-04-25 11:38:01 +00:00
dyoung
9b9ed510b0 Add IEEE 802.11 manual pages from FreeBSD to both the Makefiles
and the set lists.
2005-04-24 21:43:03 +00:00
itohy
0ee992857f ukyopon(4): Kyocera AIR-EDGE PHONE driver
Close NetBSD PR #25954 in a different way.
2005-04-15 17:18:18 +00:00
christos
94218b86fb Add get{pw,gr}ent_r.{3,0} 2005-04-04 20:38:24 +00:00
christos
bfcb364086 Fix sets for strfmon 2005-04-03 20:12:18 +00:00
yamt
3165a4e284 remove links to uvm.9 for removed functions. 2005-04-01 12:07:42 +00:00
wiz
3294301136 Add wcsftime(3). 2005-03-30 10:17:36 +00:00
christos
ab5e9c0298 add fips openssl include files. 2005-03-25 20:13:21 +00:00
kleink
513c158344 A couple of <sys/select.h>-related changes:
* Factor out struct selinfo and its header dependencies into its own header,
  <sys/selinfo.h>, to avoid namespace pollution.
* Include <sys/selinfo.h> in user-visible headers where necessary.
2005-03-17 20:39:17 +00:00
perry
4d7b53f8df add memmem man pages 2005-03-13 15:20:09 +00:00
tnozaki
fe05f588fb add new citrus iconv module UTF-7.
thanks advice, yamt-san.
2005-03-05 18:05:14 +00:00
he
21b1464ae4 Build openpam_free_envlist as part of libpam, and install it's man
page.  This is required for ports not yet supporting shared libraries.
2005-03-03 22:40:49 +00:00
matt
0590a70e78 Add entires for pollts and pselect manpages. 2005-02-26 18:06:27 +00:00
peter
1c9b56c830 Add MKIPFILTER; if set to no, don't build and install the ipf(4) programs,
headers and LKM.

Add MKPF; if set to no, don't build and install the pf(4) programs,
headers, LKM and spamd.

Both options default to yes, so nothing changed in the default build.

Reviewed by lukem.
2005-02-22 14:39:58 +00:00
thorpej
df9803ce96 Part 1 of a cleanup pass over the SCSI subsystem. The aim is to name
everything "scsi_*", since we really are talking about the SCSI command
set, ATAPI transport not withstanding.  Improve the names of many structures,
and prepend "SCSI_" onto all SCSI command opcodes.  Place items described
by the SCSI Primary Commands document into scsi_spc.h.
2005-02-21 00:29:06 +00:00
christos
eaa3f74abc Fix radius set fallout, reported by: Hisashi T Fujinaka 2005-02-20 06:49:01 +00:00
christos
50aadbe526 More libradius changes from manu 2005-02-20 00:49:06 +00:00
christos
e944da2e57 Add radius include files. 2005-02-20 00:39:48 +00:00
briggs
f47f1e617d Add spr.h 2005-02-17 02:24:00 +00:00
briggs
9ca4305a3b Add spr.h. 2005-02-17 02:14:52 +00:00
lukem
26ed70ab78 Please mark obsolete entries "obsolete" instead of removing them.
(Hint: almost no time window is "short enough".)
2005-01-24 07:05:17 +00:00
rumble
ff41bba33a Revert previous. 2005-01-24 00:57:19 +00:00
rumble
aa6fe0fbb7 Add dirhash.h.
Spotted by Hisashi T Fujinaka.
2005-01-23 22:57:16 +00:00
dyoung
b72c53e720 Exclude additional files from the set lists if MKGCCCMDS=no. 2005-01-21 04:47:23 +00:00
chs
40345beaa3 ibm4xx/pte.h is no more. 2005-01-19 14:46:26 +00:00
tron
b79d8ae56b Mark PAM libraries as "pam". 2005-01-11 20:15:21 +00:00
joff
20d6de90cd Include include/dev/ic/hd44780var.h 2005-01-11 01:00:49 +00:00
he
67d66c86bb Don't build libpam and associated bits if the target platform doesn't
support shared libraries (sun2 and evbsh5 at it would seem), or if the
user has specified MKPIC=no.  Also introduce a new tag to the set lists
("pam"), so that the non-shlib ports can once again complete a release
build.

Discussed with christos and lukem.
2005-01-10 00:20:21 +00:00
matt
867a34233b Add gcccmds to the compiler files. 2005-01-09 19:55:26 +00:00
cube
da24800d8c Install net/if_tap.h. 2005-01-08 22:28:51 +00:00
lukem
bd32b71189 librpcsvc.so.0.0 (et al) 2005-01-08 10:04:35 +00:00
lukem
b351350a6f document getgroupmembership(3) 2005-01-06 15:29:35 +00:00
lukem
98a04f5390 Implement libssh as a public library, as pam_ssh needs it. 2005-01-03 06:00:12 +00:00
thorpej
c8a6aeb225 Document file system extended attribute functions. 2005-01-02 17:34:43 +00:00
thorpej
c165c2b31d System calls and support routines for file system extended attributes. Libc
version is bumped to 12.125.

From FreeBSD.
2005-01-02 16:43:26 +00:00
thorpej
9eca3a4ad4 Add <sys/extattr.h> 2005-01-02 16:09:56 +00:00
thorpej
c735ea78ac Add PAM libraries, modules, and headers. 2004-12-29 00:12:00 +00:00
christos
28d516ffbc revert previous while discussion is still in progress 2004-12-20 18:33:53 +00:00
itojun
2fdfeb359f RFC cannot be used as manpage regarding to the ISOC copyright boilerplate.
remove it until someone writes it up from scratch/freely-redistributable
text is found.
2004-12-20 03:50:04 +00:00
atatat
2803cf768c Add a function called getdevmajor().
It tells you the major device number for whatever character or block
device you ask it.  This is sort of the inverse of devname(3) but not
quite, since it's backed by the kernel (sysctl's kern.drivers
information) and not a database cobbled together from the contents of
the filesystem.
2004-12-16 03:54:56 +00:00
lukem
ab6b8b7528 usr/lib/threadlib.h is now obsolete 2004-12-14 02:27:55 +00:00
yamt
db0a8cc0ea add sched_yield manpage. 2004-12-14 01:49:30 +00:00
he
387711acf9 Hm, don't delete old bfd entries, mark obsolete instead. 2004-12-13 07:19:17 +00:00
he
6817787508 Bump libbfd's shared library version number following new binutils import.
Fixes build problem for the vax port which remains without HAVE_GCC3.
2004-12-12 14:31:45 +00:00
jmc
8a90e8bcc4 Fix for new binutils 2004-12-08 19:37:34 +00:00
yamt
165c905934 add links for uvm_unmap(9) 2004-12-06 17:35:53 +00:00
atatat
309bce04e2 Add new errno.9 page 2004-12-03 03:35:53 +00:00
christos
ed9b8e9f3f add manual page for sockaddr_snprintf(3) 2004-11-20 03:07:50 +00:00
wiz
4692c6e1e8 Put obsolete files in the *-obsolete sets instead of whatever they
were in before they became obsolete (consistency).
2004-11-18 15:34:23 +00:00
jdolecek
73830da5a7 g/c ptyfs.h - it's not installed anymore 2004-11-11 19:00:31 +00:00
christos
b360e20686 Add ptyfs installed files. 2004-11-11 01:53:39 +00:00
lukem
9c82800a69 Add: getgrgid_r(3) getgrnam_r(3) getpwnam_r(3) getpwuid_r(3) 2004-11-10 04:52:30 +00:00
yamt
3bc2a57904 - hide bufq_state in mfsnode from userland.
- move bufq.h into obsolete set.

tested to compile pkgsrc/sysutils/lsof.
2004-11-09 08:46:08 +00:00
kim
7601bef351 Add bufq.h 2004-11-07 18:03:12 +00:00
gavan
0560d8b947 Initial import of iyonix port.
The Iyonix is a desktop machine from Castle Technology, based on a 600MHz
XScale[tm] 80321 processor.

* Uses the bootloader from NetBSD/acorn32, which is now 32-bit compatible.
* Currently boots multiuser with a serial console.
* Device support is not yet complete.

With help from abs.
2004-10-13 23:28:34 +00:00
yamt
858030da1c - put back cc_microtime.h and cpu_data.h.
- mark them obsolete.
2004-10-10 15:38:58 +00:00
yamt
c72c6f082e don't install cpu_data.h or cc_microtime.h.
they're not intended to be exposed to userland.
2004-10-10 08:57:30 +00:00
he
ce985b87e9 Add sys/cpu_data.h and sys/cc_microtime.h. 2004-09-23 12:54:58 +00:00
he
8b9587795d Move crtbeginT.o from gcc.mi to gcc.shl, so that it is only included in
the sets if HAVE_GCC3=yes and MKPIC!=no.  Should fix build problem for
sun2 and evbsh5 which don't have shared libraries.
2004-09-16 06:50:19 +00:00
lha
9aad4ec1d6 fix previous commit, uuid manpages are installed in 3 not 0 2004-09-14 13:59:21 +00:00
thorpej
de1dfb1250 DCE 1.1 RPC compatible UUID routines for libc, adapted from FreeBSD.
Encode/decode to big/little endian binary blob routines adapted from
kernel.

PR 23470.
2004-09-13 21:44:54 +00:00
taca
900e6a5a0e Add missing ./usr/share/man/cat9/m_tag_copy.0. 2004-09-07 12:28:34 +00:00
yamt
2b4fe0218c sort. 2004-09-06 21:47:45 +00:00
yamt
c63e47f8b1 add MLINKS for each mbuf tagging functions. 2004-09-06 21:46:46 +00:00
yamt
419ed6dbbc add m_tag(9). 2004-09-06 18:25:00 +00:00
yamt
436ebe5788 add m_copyback_cow and m_makewritable. 2004-09-06 09:47:16 +00:00
manu
46cc47f4ab Missing files that were recently added:
usr/include/netinet/pim.h
usr/include/netinet/pim_var.h
usr/share/man/cat4/multicast.0
usr/share/man/cat4/pim.0
usr/share/man/man4/multicast.4
usr/share/man/man4/pim.4
2004-09-05 06:32:03 +00:00
he
dd3405192a Move crtbeginT.o from shl.elf to gcc.mi, so that it is only included in
the set list if HAVE_GCC3=yes.  Fixes build of release for the vax port.
2004-09-03 11:26:22 +00:00
thorpej
8d13a4aafe Switch to using GCC's supplied crtbegin / crtend files. 2004-08-28 00:18:38 +00:00
he
ac20e11f30 Un-obsolete gethostent(3), now that it's installed as a link to
gethostbyname(3).
2004-08-24 11:38:41 +00:00
drochner
5d294725da add drvctl stuff 2004-08-19 09:54:06 +00:00
lukem
d949dd984b Move libg2c.so* (the g77 Fortran runtime) from comp to base.
Highlighted by Valeriy E. Ushakov.
2004-08-13 01:02:24 +00:00
lukem
90feed6848 Move the lib<foo>.so entry (link) from comp to base, so that
applications on systems without the `comp' set installed can
dlopen() a library without supplying the major number.
2004-08-12 16:07:07 +00:00
uch
c6ac79b0b3 add NEWSMIPS_WSDISPLAYIO_GINFO ioctl to get frame buffer stride. 2004-08-01 18:53:16 +00:00
cube
940bb13e09 Mark 'ip_rules.h' as obsolete instead of removing the entry. 2004-07-24 18:15:01 +00:00
tron
165f42d6b5 "ip_rules.h" was removed after the import of IPFilter 4.1.3. 2004-07-23 11:56:59 +00:00
dyoung
1ac1adff5c Oops, stragglers: install ieee80211_channel.h, ieee80211_sysctl.h. 2004-07-16 03:11:39 +00:00
agc
106472864c One more "sync with reality" fix. 2004-07-14 09:46:28 +00:00
agc
e7f0a3ab30 Sync krb5 manual pages with reality 2004-07-14 09:05:45 +00:00
jonathan
98b92eb4a5 Commit manpage for krb5_set_password(3), based on Heimdal-20040606,
with small revisions by myself, reviewed/approved by Love.
2004-07-14 07:02:07 +00:00
seb
2f8bbc118e Add wordexp(3). The wordexp function performs shell-style word expansions.
This implementation is wrapper around the undocumented wordexp sh(1)
built-in command.

From FreeBSD.
Provided in PR lib/26123.
Approved by kleink@.
2004-07-13 15:42:03 +00:00
junyoung
bc836a3102 lib/24252: Add C99 functions round(3) and roundf(3).
libm minor unchanged; ride a recent bump.

From FreeBSD.
2004-07-10 13:49:09 +00:00
hannken
569e55e635 Add "include/sparc64/joystick.h". 2004-07-08 10:04:45 +00:00
drochner
96623fecad also add <machine/joystick.h> to alpha and amd64, to allow compilation
of certain multimedia applications
2004-07-07 18:03:51 +00:00
sketch
18b6ee6d42 Complete removal of uvm_useracc(9), as described in
http://mail-index.netbsd.org/source-changes/2003/11/13/0011.html
2004-07-05 11:08:37 +00:00
tron
ee13f974b7 Add formatted manual page for strcasestr(3). 2004-07-03 15:15:04 +00:00
uch
ad9ac7f68e add apm, apmd 2004-07-03 12:57:18 +00:00
junyoung
07ac9ff574 Add strcasestr(3). 2004-07-03 09:03:37 +00:00
drochner
2706519f5d add a <machine/joystick.h> which just includes the new common one 2004-07-02 17:02:24 +00:00
drochner
317ca9a542 the port's joystick.h are all identical, so use a common one 2004-07-02 17:00:31 +00:00
skrll
135dee25e2 Fix the list of files that get created in a hp700 build. 2004-07-01 10:19:31 +00:00
itojun
10c71795a1 build and install spamd(8) 2004-06-22 15:41:54 +00:00
jmc
498ccb631b Move libgcc_s.so.X into base as C++ compiled programs (ala groff) will need them 2004-06-14 04:23:26 +00:00
jmc
7c62a6e881 Fix typo. closefrom.3 is a 'man' not a 'cat' tag 2004-06-13 22:28:42 +00:00
pooka
4ab1731715 pthread_spin_trylock.{0,3} 2004-06-02 14:10:14 +00:00
itojun
0f4ed61e4b add closefrom(3). sort 2004-05-31 05:27:33 +00:00
christos
9451ff456d add the manual pages for pty/98 2004-05-27 03:43:31 +00:00
hannken
8c21bc6224 Add ffs internal snapshots. Written by Marshall Kirk McKusick for FreeBSD.
- Not enabled by default. Needs kernel option FFS_SNAPSHOT.
- Change parameters of ffs_blkfree.
- Let the copy-on-write functions return an error so spec_strategy
    may fail if the copy-on-write fails.
- Change genfs_*lock*() to use vp->v_vnlock instead of &vp->v_lock.
- Add flag B_METAONLY to VOP_BALLOC to return indirect block buffer.
- Add a function ffs_checkfreefile needed for snapshot creation.
- Add special handling of snapshot files:
    Snapshots may not be opened for writing and the attributes are read-only.
    Use the mtime as the time this snapshot was taken.
    Deny mtime updates for snapshot files.
- Add function transferlockers to transfer any waiting processes from
  one lock to another.
- Add vfsop VFS_SNAPSHOT to take a snapshot and make it accessible through
  a vnode.
- Add snapshot support to ls, fsck_ffs and dump.

Welcome to 2.0F.

Approved by: Jason R. Thorpe <thorpej@netbsd.org>
2004-05-25 14:54:55 +00:00
christos
fd7c469798 add 2 new include files. 2004-05-21 02:29:07 +00:00
minoura
72c4550293 Populate kbdmap-related definitions to the userland.
Also g/c unused ioctls.
Pointed out by he.
2004-05-12 14:25:08 +00:00
drochner
1626697cbc remove the fgetstr manpage 2004-05-10 17:02:21 +00:00
kleink
5e63ca7768 Add offtime(3) and friends. 2004-05-10 02:08:01 +00:00
kleink
a6428a221b Add <machine/wchar_limits.h>. 2004-05-08 21:53:23 +00:00
martin
64201d8484 Add emmintrin.h. 2004-05-08 09:14:12 +00:00
minoura
6915327794 An unexported header file was #included from an exported header file.
Introduce <machine/opmreg.h> and move some definitions useful to
userland progs.
2004-05-08 08:38:36 +00:00
wiz
adafc87b2c Remove empty line. Noted by Stefan Krueger on current-users. 2004-05-07 12:41:08 +00:00
jonathan
85b3ba5bf1 Redo net.inet.* sysctl subtree for fast-ipsec from scratch.
Attach FAST-IPSEC statistics with 64-bit counters to new sysctl MIB.
Rework netstat to show FAST_IPSEC statistics, via sysctl,  for
netstat -p ipsec.

New kernel files:
	sys/netipsec/Makefile		(new file; install *_var.h includes)
	sys/netipsec/ipsec_var.h	(new 64-bit mib counter struct)

Changed kernel files:
	sys/Makefile			(recurse into sys/netipsec/)
	sys/netinet/in.h		(fake IP_PROTO name for fast_ipsec
					sysctl subtree.)
	sys/netipsec/ipsec.h		(minimal userspace inclusion)
	sys/netipsec/ipsec_osdep.h	(minimal userspace inclusion)
	sys/netipsec/ipsec_netbsd.c	(redo sysctl subtree from scratch)
	sys/netipsec/key*.c		(fix broken net.key subtree)

	sys/netipsec/ah_var.h		(increase all counters to 64 bits)
	sys/netipsec/esp_var.h		(increase all counters to 64 bits)
	sys/netipsec/ipip_var.h		(increase all counters to 64 bits)
	sys/netipsec/ipcomp_var.h	(increase all counters to 64 bits)

	sys/netipsec/ipsec.c		(add #include netipsec/ipsec_var.h)
	sys/netipsec/ipsec_mbuf.c	(add #include netipsec/ipsec_var.h)
	sys/netipsec/ipsec_output.c	(add #include netipsec/ipsec_var.h)

	sys/netinet/raw_ip.c		(add #include netipsec/ipsec_var.h)
	sys/netinet/tcp_input.c		(add #include netipsec/ipsec_var.h)
	sys/netinet/udp_usrreq.c	(add #include netipsec/ipsec_var.h)

Changes to usr.bin/netstat to print the new fast-ipsec sysctl tree
for "netstat -s -p ipsec":

New file:
	usr.bin/netstat/fast_ipsec.c	(print fast-ipsec counters)

Changed files:
	usr.bin/netstat/Makefile	(add fast_ipsec.c)
	usr.bin/netstat/netstat.h	(declarations for fast_ipsec.c)
	usr.bin/netstat/main.c		(call KAME-vs-fast-ipsec dispatcher)
2004-05-07 00:55:14 +00:00
kleink
733d7fc457 Add ndbm(3) et al. 2004-04-30 21:16:13 +00:00
kleink
c368e20f92 Add statvfs(5). 2004-04-21 21:24:01 +00:00
kleink
64a2a6f5d5 cat3/fgetstr.3 -> man3/fgetstr.3 2004-04-21 21:05:20 +00:00
jdc
eb71bd67da Add missing mvin* and mvwin* manual pages. 2004-04-21 06:24:32 +00:00
christos
6bd1d6d4db Replace the statfs() family of system calls with statvfs().
Retain binary compatibility.
2004-04-21 01:05:31 +00:00
christos
8e5b7cdbb5 update sets for fgetstr 2004-04-21 00:08:04 +00:00
lukem
a90e0c0e64 Add MLINKS for:
CIRCLEQ_FOREACH(3) CIRCLEQ_FOREACH_REVERSE(3)
	LIST_FOREACH(3)
	SIMPLEQ_FOREACH(3)
	SLIST_EMPTY(3) SLIST_ENTRY(3) SLIST_FIRST(3) SLIST_FOREACH(3)
	SLIST_HEAD(3) SLIST_HEAD_INITIALIZER(3) SLIST_INIT(3)
	SLIST_INSERT_AFTER(3) SLIST_INSERT_HEAD(3) SLIST_NEXT(3)
	SLIST_REMOVE(3) SLIST_REMOVE_HEAD(3)
	STAILQ_EMPTY(3) STAILQ_ENTRY(3) STAILQ_FIRST(3) STAILQ_FOREACH(3)
	STAILQ_HEAD(3) STAILQ_HEAD_INITIALIZER(3) STAILQ_INIT(3)
	STAILQ_INSERT_AFTER(3) STAILQ_INSERT_HEAD(3) STAILQ_INSERT_TAIL(3)
	STAILQ_NEXT(3) STAILQ_REMOVE(3) STAILQ_REMOVE_HEAD(3)
	TAILQ_FOREACH(3) TAILQ_FOREACH_REVERSE(3) TAILQ_LAST(3) TAILQ_PREV(3)
2004-04-18 23:42:23 +00:00
dyoung
061f5fc4ee Add a manual page to section 9 for rssadapt, the rate-adaptation
framework.
2004-03-29 04:14:03 +00:00
he
ff8ddbe028 Add entries for new include files installed by the new version of IPF. 2004-03-28 18:23:27 +00:00
drochner
ec31ee66ae should have moved sigreturn.2 to comp-obsolete, pointed out by Chris Gilbert 2004-03-28 15:40:20 +00:00
jdc
6c70d527d6 Add *echochar() manual pages. 2004-03-28 08:59:54 +00:00
drochner
66a132ee6f sigreturn() isn't officially supported anymore; remove its manpage
(which was outdated anyway)
2004-03-26 21:49:35 +00:00
atatat
29e15c7932 Move sysctlbyname(), sysctlnametomib(), and sysctlgetmibinfo() from
sysctl(8) into libc, making the minor number jump.  Add prototypes to
sys/sysctl.h, fix sets, modify man pages, etc.  That oughta cover it.
2004-03-25 19:36:26 +00:00
atatat
1449152ac6 Add man page for new sysctl_teardown() function. 2004-03-24 19:37:10 +00:00
jdc
dd5d3aabfc Add (missing) mvgetch() and mvwgetch() manual pages. 2004-03-23 21:56:53 +00:00
jonathan
7dceec999c Add kcont(9) to Makefile, comp set. 2004-03-23 00:59:47 +00:00
he
fa8bd886a7 Fix typo in manual page name: OPENSSL_load_builtin_modules instead
of OPENSSL_load_built_modules.
2004-03-22 10:28:55 +00:00
groo
19aa054c0d Actually install the new man pages. 2004-03-22 00:48:04 +00:00
bjh21
b38b985f56 pckbport(9) and friends. 2004-03-20 22:05:56 +00:00
scw
37998f0fde Add MD files for sh5/evbsh5. 2004-03-17 20:36:04 +00:00
scw
0b2cfb4c45 Add keyword 'gdb' to files built with MKGDB!=no. 2004-03-17 20:34:47 +00:00
jdc
2b5352e212 Add can_change_color.[03].
Move can_change_colors.[03] to obsolete category.
2004-03-16 07:57:30 +00:00
yamt
e71ca4ef99 some manpages of scheduler activation syscalls. 2004-03-14 09:18:45 +00:00
bjh21
80a4c8f403 Obsolete /usr/include/acorn32/mouse.h. 2004-03-13 19:46:46 +00:00
uwe
a2c9b02021 /usr/include/$machine/_G_config.h is now obsolete after sh3 ports are
switched to gcc3.  Fix the lists for all sh3 ports, not just hpcsh :).
Pointed out by Harold Gutch.
2004-02-27 23:02:45 +00:00
skrll
0aae540257 Backout recent changes made to gnu/lib/libgcc3 for a forced MKPIC=no build.
Fix the behaviour of native and tools gcc when MKPIC=no is specified for
platforms that mknative has determined support shared libraries.

XXX distrib/sets/sets.subr doesn't support MKPIC=no
2004-02-27 14:52:01 +00:00
he
b11f3aaae2 Add ./usr/lib/libgcc_s.a. 2004-02-26 22:48:28 +00:00
uwe
8ecdb4abee _G_config.h is obsolete in the gcc3 world. 2004-02-22 01:42:25 +00:00
yamt
b395986e05 a link for selnotify(9). 2004-02-18 13:37:40 +00:00
lukem
e02544e3b6 add svcudp_create(3) 2004-02-16 02:40:52 +00:00
skrll
b263dbdd73 Be more gcc like in the way we deal with libgcc so that sh3/hppa millicode
and exception handling have a chance of working properly.

        - creates libgcc, libgcc_eh and libgcc_s

        - updates LIBGCC_SPEC to use them appropriately.

          There's a hack in here at the moment with respect to libgcc_so in that it
          is preferable to link against libgcc_so will only when -shared-libgcc is
          specified (the c++ frontend does this automatically.) Configurations where
          LINK_EH_SPEC is defined already do this. The gcc configuration for
          NetBSD/alpha and another NetBSD platform (I forget which) actually define
          LINK_EH_SPEC probably by accident rather than design.

        - updates share/mk to use the compiler's knowledge of what needs linking into
          libraries and executables. This removes an hppa hack.

        - updates the sets for the newly created libgcc* files.

	- support for linking against the _pg version of libgcc has been removed.
2004-02-15 19:52:27 +00:00
hannken
142e9d5deb Add a generic copy-on-write hook to add/remove functions that will be
called with every buffer written through spec_strategy().

Used by fss(4). Future file-system-internal snapshots will need them too.

Welcome to 1.6ZK

Approved by: Jason R. Thorpe <thorpej@netbsd.org>
2004-02-14 00:00:56 +00:00
reinoud
77d3513718 There was still a reference to beep.h in the acorn32 `comp'
package list.

AFAIK this patch ought to fix it....
2004-02-09 23:24:29 +00:00
bjh21
fda04272ed /usr/include/acorn32/beep.h is obsolete. 2004-02-09 19:41:11 +00:00
lukem
dc6c3cf836 support MKMAN=no for uuidgen(2) 2004-01-31 15:14:04 +00:00
lukem
db1714e4b6 Add ./etc/mtree/set.<setname> entry for each set. 2004-01-30 08:44:10 +00:00
tsarna
72489e1ea0 uuidgen(2) syscall. Originally from FreeBSD, ported by John Franklin in
PR#23470, with minor updates by me. This is only the syscall support
from that PR, for now.

Changes: port over fix from FreeBSD for multicast address generation.
Changed bcopy to memcpy.  For now, #ifdef notyet the portions of
kern_uuid.c that are meant to be used by (currently nonexistent) other
things in the kernel.  Added syscall to COMPAT_FREEBSD as well, though
that's currently not useful, as any program new enough to use this call
also uses other syscalls we don't (yet) emulate.
2004-01-29 02:00:02 +00:00
jdolecek
3d22b8ae1a g/c obsolete cpu_wait(9)
reported in PR misc/24260 by Nicolas Joly
2004-01-28 17:44:25 +00:00
tsarna
aa0acf5064 Sort and remove some dupes 2004-01-27 23:05:18 +00:00
atatat
f473152980 sysctl(9) man pages 2004-01-21 03:09:38 +00:00
kleink
ccbd7776c6 Add fpclassify(3), isfinite(3), isnormal(3), and signbit(3). 2004-01-15 19:50:02 +00:00
lukem
4ed1ebfd8c move various directories from comp/mi -> base/mi, for consistency 2004-01-13 09:19:42 +00:00
lukem
6df8e119d6 remove unnecessary directory 2004-01-13 06:31:33 +00:00
lukem
e390f904d9 move various directories from comp/*.mi to base/mi, for consistency 2004-01-13 06:27:16 +00:00
lukem
6c4f688946 Support MKSHARE=no 2004-01-12 03:08:06 +00:00
lukem
15f7d00565 Support MKDOC=no MKINFO=no MKNLS=no 2004-01-11 23:42:27 +00:00
lukem
27f289e307 Add support for:
MKCATPAGES=no
	MKMAN=no
	MKMANZ=yes

Add ".man" (from "man") and ".cat" (from "catpages") to indicate files
that will automatically be treated as having a ".gz" extension if
MKMANZ != no.  (This simplifies the MKMANZ!=no support...)
2004-01-11 15:09:51 +00:00
lukem
fa835c1be8 MKLINT=no support 2004-01-11 14:53:23 +00:00
lukem
b2a7724153 reformat whitespace 2004-01-11 09:53:28 +00:00
lukem
7184a827aa support MKBFD=no 2004-01-11 08:55:55 +00:00
lukem
23bd6e4a23 support MKCVS=no 2004-01-04 13:20:49 +00:00
lukem
2becb6af9a Support MKCRYPTO=no 2004-01-04 00:54:18 +00:00
lukem
3e894ed427 Support MKPROFILE=no 2004-01-03 15:43:50 +00:00
lukem
26c228007f Support MKSKEY=no. 2004-01-03 15:21:30 +00:00
lukem
9bdabb5f9b support MKYP=no 2004-01-03 14:17:06 +00:00
lukem
df3e8e91a2 support MKHESIOD=no 2004-01-03 13:50:26 +00:00
lukem
0c6b3e795d Support MKCRYPTO_IDEA=yes, MKCRYPTO_MDC2=yes, MKCRYPTO_RC5=yes.
Resolves [install/18136].
2004-01-03 13:31:38 +00:00
lukem
dbe9e72b8d support MKSENDMAIL=no (with "sendmail" keyword) 2004-01-03 03:02:25 +00:00
lukem
b852db83fb Significant overhaul of how the sets are used:
* Add an optional third field to the sets file which is a list of
  comma separated keywords that control if the line is printed.
  Currently supported keywords
	kerberos4	${MKKERBEROS4} != no
	kerberos	${MKKERBEROS} != no
	lint		${MKLINT} != no
	obsolete	${obsolete} != 0.
			In this case, non obsolete files are not printed.
  (This will allow future support for builds with variables such as
  MKHESIOD and MKYP set to "no".)

* Use sh(1)'s getopts where appropriate, and otherwise cleanup the
  various scripts.

* Move defaults for sets.subr from sets.defaults into sets.subr.
  Move replicated code for determining stuff such as shlibs type
  from various scripts into sets.subr.

* Merge the obsolete.*, krb.*, krb4.* and lint.* into the appropriate
  main lists with the relevant third field keyword(s).
2003-12-29 03:13:25 +00:00
lha
d60f9cb5a8 Add opencrypto.9 manpage, manpage copied from OpenBSD (Angelos D. Keromytis)
Some text added me (and thus all errors in the manpage are mine)
2003-12-20 20:25:28 +00:00
thorpej
1b1646cdae Add <dev/ata/satareg.h>. 2003-12-14 17:15:31 +00:00
chs
1b7a0836d2 libsupc++.a isn't a shared lib, move it to the common list. 2003-12-13 22:03:48 +00:00
chs
75d1d3ae6b m68000 has switched to gcc3, _G_config.h is really gone now. 2003-12-13 22:02:34 +00:00
dyoung
4758291178 Fix the checkflist for builds without Kerberos 4 (MKKERBEROS4=no)
and without Kerberos 4 & 5 (MKKERBEROS=no). Previously checkflist
complained of missing files.

* move kerberos- and kerberos 4-only files into new flists,
  distrib/sets/lists/*/krb.*

* make the flist generators grok MKKERBEROS{,4} variables

* fix Makefiles which treat MKKERBEROS=no as MKKERBEROS5=no.
  9 out of 10 experts agree that it is ludicrous to build w/
  KERBEROS4 and w/o KERBEROS5.

* fix header files, also, which treat MKKERBEROS=no as MKKERBEROS5=no.

* omit some Kerberos-only subdirectories from the build as
  MKKERBEROS{,4} indicate

(I acknowledge the sentiment that flists are the wrong way to go,
and that the makefiles should produce the metalog directly.  That
sounds to me like the right way to go, but I am not prepared to do
revamp all the makefiles.  While my approach is expedient, it fits
painlessly within the current build architecture until we are
delivered from flist purgatory, and it does not postpone our
delivery. Fair enough?)
2003-12-11 09:46:26 +00:00
hannken
fbae381aaa The file system snapshot pseudo driver.
Uses a hook in spec_strategy() to save data written from a mounted
file system to its block device and a hook in dounmount().

Not enabled by default in any kernel config.

Approved by: Frank van der Linden <fvdl@netbsd.org>
2003-12-10 11:40:11 +00:00
matt
521d93bc3d Add MMX/SSE (i386,amd64) and Altivec (powerpc) include files. 2003-12-05 18:57:40 +00:00
lukem
d993f3815c update for editline(3) tok_*() function addition 2003-12-05 13:49:16 +00:00
simonb
5f7a1eaf57 Fix manpage set list fallout from sysctl changes. 2003-12-05 04:55:42 +00:00
mrg
abda1a5442 libopcodes.so.1/libbfd.so.6 2003-12-04 12:18:57 +00:00
lukem
1d646ef2fe install /usr/include/sys/soundcard.h as a symlink to ../soundcard.h 2003-11-18 23:00:04 +00:00
thorpej
137c808bb8 Userland portion of fsync_range(2), written by Bill Studenmund, and
contributed by Wasabi Systems, Inc.
2003-11-18 00:56:56 +00:00
yamt
270c5642ae a manpage of selrecord and selwakeup. 2003-11-16 15:10:46 +00:00
uwe
c1aa7660bf /usr/include/frame.h is obsolete now (hi, christos). 2003-11-16 13:34:57 +00:00
christos
f306da6419 no more frame.h 2003-11-14 17:45:06 +00:00
christos
5bb18fa55e add pthread_suspend_np, pthread_resume_np, pthread_attr_setcreatesuspend_np
man pages.
2003-11-12 02:48:42 +00:00
augustss
190ef42245 Add pte.h 2003-11-07 14:11:21 +00:00
itojun
aec01dda91 sync w/ openssl 0.9.7c. shlib minor bump for libcrypto.
(ERR_release_err_state_table() added)
2003-11-04 23:54:26 +00:00
kleink
397f6db8f4 Add <vax/vaxfp.h>. 2003-10-27 21:54:24 +00:00
kleink
7a331ee9a9 Add <sys/ieee754.h>. 2003-10-26 20:51:10 +00:00
mycroft
1ee09501e6 Whoops, this is a (well, the only) m68000 platform, and is still using GCC 2.95. 2003-10-25 22:34:03 +00:00
mycroft
f081e47c89 This is another m68k platform; nuke _G_config.h. 2003-10-25 22:27:27 +00:00
mycroft
9cea6bdb4d Nuke _G_config.h for MIPS platforms. 2003-10-25 22:26:08 +00:00
mycroft
303393e654 _G_config.h is gone on m68k platforms. 2003-10-24 18:32:16 +00:00
matt
1159857111 Add pte.h 2003-10-24 18:22:14 +00:00
matt
54e310a4bd Make these match reality. 2003-10-24 06:49:37 +00:00
kleink
3104093f6c Add <x86/math.h>. 2003-10-22 11:56:35 +00:00
agc
1b4475af8f Add catman pages for
vfs_write_resume(9)
vfs_write_suspend(9)
vn_finished_write(9)
vn_start_write(9)
2003-10-22 07:04:32 +00:00
hannken
9dec5da8e8 Add section 9 man pages for:
vfs_write_suspend, vfs_write_resume, vn_start_write and vn_finished_write.
2003-10-21 22:01:24 +00:00
matt
e3e6938d92 Move bus.h to obsolete. 2003-10-21 17:32:35 +00:00
matt
a0268c8285 Update exported headers list. 2003-10-20 16:18:03 +00:00
matt
a9baced49d NWDO for ibmnws. 2003-10-19 03:37:16 +00:00
wiz
aca04ce996 +getmaxyx(3). 2003-10-18 09:10:16 +00:00
jmc
260a5d8bc9 Adding missing header from 1.6.1->current update 2003-10-15 17:10:20 +00:00