Commit Graph

504 Commits

Author SHA1 Message Date
Xin LI
ad170a1e02 Fix typo in vfs_mount(9) item. 2013-07-01 21:58:08 +00:00
Baptiste Daroussin
157cb94503 Bump shlib for dialog because ABI has changed when version 1.2 was imported
Reviewed by:	kib
2013-06-23 21:59:52 +00:00
Xin LI
40670f19e2 Remove vfs_mount(9), it have been died since 2004.
Noticed by:	git via alfred
MFC after:	2 weeks
2013-06-17 03:32:27 +00:00
Antoine Brodin
21a46fc4ca One more obsolete file. 2013-06-16 19:07:06 +00:00
Antoine Brodin
61d9e14bc7 Add more obsolete files. 2013-06-16 18:32:59 +00:00
Eitan Adler
1cbff2a999 Remove CVS from the base system.
Discussed with:	many
Reviewed by:	peter, zi
Approved by:	core
2013-06-15 20:29:07 +00:00
Antoine Brodin
07ad7b2372 Move libmd.so.5 to the proper place and add missing lib32 entry. 2013-05-26 09:25:14 +00:00
Antoine Brodin
f4470a74ca Add another obsolete file: nfs fha moved 2013-05-18 18:28:19 +00:00
Antoine Brodin
c3dbfb8dee Add one more obsolete file. 2013-04-14 12:20:13 +00:00
Dimitry Andric
139f7f9bf5 Upgrade our copy of llvm/clang to trunk r178860, in preparation of the
upcoming 3.3 release (branching and freezing expected in a few weeks).

Preliminary release notes can be found at the usual location:
<http://llvm.org/docs/ReleaseNotes.html>

An MFC is planned once the actual 3.3 release is finished.
2013-04-12 17:57:40 +00:00
Rene Ladan
b9a7b69edb Fix a typo in the burncd line.
Approved by:	cognet
2013-04-05 21:18:01 +00:00
Alexander Motin
256cb4aa44 Remove usr.sbin/burncd, useless after legacy ATA stack removal. 2013-04-04 09:21:24 +00:00
Alexander Motin
7d5621c981 Remove obsolete files of the legacy ATA stack. 2013-04-04 07:57:32 +00:00
Antoine Brodin
8feedf2993 Add 2 more obsolete files and a missing date. 2013-03-24 12:39:26 +00:00
Gleb Smirnoff
80daa4713c Belatedly remove the vinum(4) manual page. The vinum
manager is absent in FreeBSD since 6.0-RELEASE.

Reviewed by:	joel
2013-03-16 08:51:47 +00:00
Baptiste Daroussin
1656073469 Ports are no more exported via cvsup, remove cvsup examples and documentation refering to ports
MFC after:	2 days
2013-03-11 10:48:26 +00:00
Antoine Brodin
56a5487faa Correct a date, add an obsolete directory. 2013-03-10 19:14:09 +00:00
Antoine Brodin
4922910f11 Add 2 more obsolete files. 2013-03-10 18:28:01 +00:00
Antoine Brodin
6ba3053c7d Add more obsolete files. 2013-03-10 17:49:59 +00:00
Attilio Rao
a92189b377 Garbage collect NWFS and NCP bits which are now completely disconnected
from the tree since few months.

This patch is not targeted for MFC.
2013-03-09 12:45:36 +00:00
Antoine Brodin
ae6c506346 Add more obsolete files. 2013-03-03 11:09:55 +00:00
Attilio Rao
737a61a1ee Garbage collect NTFS bits which are now completely disconnected from
the tree since few months.

This patch is not targeted for MFC.
2013-03-02 18:40:04 +00:00
Attilio Rao
4eb0218ace Garbage collect PORTALFS bits which are now completely disconnected from
the tree since few months.

This patch is not targeted for MFC.
2013-03-02 16:43:28 +00:00
Attilio Rao
f51fb78533 Garbage collect CODAFS bits which are now completely disconnected from
the tree since few months.

This patch is not targeted for MFC.
2013-03-02 16:30:18 +00:00
Attilio Rao
67f1f66fc7 Garbage collect XFS bits which are now already completely disconnected
from the tree since few months.

This is not targeted for MFC.
2013-03-02 15:33:54 +00:00
Antoine Brodin
8697485a12 Add more obsolete files. 2013-02-09 13:28:49 +00:00
Brooks Davis
f402e53940 According to the notes in ObsoleteFiles.inc we last installed section
1aout manpages in 2002.  Stop making the directories and links to them.
2013-01-16 23:16:41 +00:00
Nathan Whitehorn
8659336f4d The new sade(8) is installed and works on all architectures, courtesy of
gpart having better portability than libdisk. Don't mark sade(8) as obsolete
on non-x86 systems.
2013-01-12 16:23:16 +00:00
Nathan Whitehorn
c857d06af7 With the old sade removed, libdisk is no longer used by anything in HEAD
and uses a number of problematic pre-gpart interfaces. Since it has been
entirely obsoleted by interfaces in geom, remove it.
2012-12-30 16:28:06 +00:00
Hajimu UMEMOTO
5b47b1e61c Add directories which were wrongly created during auditdistd addition.
Requested by:	netchild
2012-12-30 08:00:40 +00:00
Antoine Brodin
047838e45a Add more obsolete files. 2012-12-02 18:57:02 +00:00
Eitan Adler
1ca2e4234e Finish removing obsolete man pages (add them to ObsoleteFiles.inc)
Submitted by:	many
Approved by:	cperciva
MFC after:	3 days
2012-11-15 15:05:47 +00:00
Martin Matuska
82e5de4d20 Move zpool-features manual page from section 5 to section 7
and fix references

Reported by:	pluknet
MFC after:	1 week
2012-11-14 01:16:29 +00:00
Antoine Brodin
7d42370472 Add more obsolete files. 2012-11-02 15:06:01 +00:00
Konstantin Belousov
0de9e2cbbd Add the VFS_UNLOCK_GIANT.9.gz hardlink to ObsoleteFiles list too.
Noted by:	pluknet
2012-10-23 12:03:32 +00:00
Konstantin Belousov
5050aa86cf Remove the support for using non-mpsafe filesystem modules.
In particular, do not lock Giant conditionally when calling into the
filesystem module, remove the VFS_LOCK_GIANT() and related
macros. Stop handling buffers belonging to non-mpsafe filesystems.

The VFS_VERSION is bumped to indicate the interface change which does
not result in the interface signatures changes.

Conducted and reviewed by:	attilio
Tested by:	pho
2012-10-22 17:50:54 +00:00
Jung-uk Kim
430849e1b9 Do not install incomplete unwind.h from clang. This header file was meant
to be a wrapper for the canonical system header file.  Unfortunately, we do
not have one (yet) and some times it is causing weird failures when clang
is used for building ports.  More complete and correct file will come from
libcxxrt in the future.

Discussed with:	dim, kib, theraven
MFC after:	1 week
2012-10-05 00:35:13 +00:00
Gleb Smirnoff
64dd8b7554 Add removed if_pflow.h. 2012-09-09 08:14:47 +00:00
Dimitry Andric
4afad9653c Add a few other files that are obsolete if WITH_CLANG_EXTRAS is enabled,
and clang is updated to 3.2.
2012-08-27 19:30:21 +00:00
Dimitry Andric
7ae0e2c9f0 Upgrade our copy of llvm/clang to trunk r162107. With thanks to
Benjamin Kramer and Joerg Sonnenberger for their input and fixes.
2012-08-20 18:33:03 +00:00
Tai-hwa Liang
490850c19c Removing bsd{ar,ranlib} found on my ancient installation.
MFC after:	3 weeks
2012-07-18 05:50:40 +00:00
Jung-uk Kim
88554080f9 Fix the previous commit. Obsolete libraries must be added to OLD_LIBS.
Pointyhat to:	me
2012-07-12 23:11:30 +00:00
Jung-uk Kim
1f13597d10 Merge OpenSSL 1.0.1c.
Approved by:	benl (maintainer)
2012-07-12 19:30:53 +00:00
Eitan Adler
eb5f456981 Remove ancient vnconfig symlink
Submitted by:	ak
Approved by:	cperciva
MFC after:	1 week
2012-07-07 17:20:27 +00:00
Dag-Erling Smørgrav
da9c39045a Also remove /usr/share/examples/etc/auth.conf, which I didn't even
realize existed.

Noticed by:	Andrey Zonov <andrey@zonov.org>
MFC after:	3 weeks
2012-06-13 16:40:47 +00:00
Dag-Erling Smørgrav
49ceb2f357 Remove leading /
MFC after:	3 weeks
2012-06-13 11:59:47 +00:00
Dag-Erling Smørgrav
2521de06a0 Remove auth.conf and related files.
Submitted by:	trhodes@
MFC after:	3 weeks
2012-06-13 11:59:03 +00:00
Martin Wilke
57eef2a0b2 - FreeBSD ships a KDE PAM module in base, but it's missing support for passwordless login (kde-np),
and it doesn't really belong in base system.

PR:		misc/167261
Submitted by:	avilla@
Approved by:	rwatson (mentor)
MFC after:	3 days
2012-05-30 03:10:22 +00:00
Antoine Brodin
2963a15591 Add more obsolete files. 2012-05-12 10:53:49 +00:00
Dimitry Andric
acf4e8ef71 Make sure a few new internal clang headers get installed, I missed these
in the last import.  They are sometimes needed when you want to use
advanced instructions.

Also, add clang's internal stdalign.h header to ObsoleteFiles.inc, since
it is redundant: we already have a stdalign.h header in /usr/include.

Pointy hat to:	dim
PR:		kern/167574
Submitted by:	jkim
Reported by:	Oliver Hartmann <ohartman@zedat.fu-berlin.de>
MFC after:	2 weeks
2012-05-05 15:35:22 +00:00
David E. O'Brien
9b9c301802 Remove the RFC 1319 MD2 Message-Digest Algorithm routines from libmd.
1. The licensing terms for the MD2 routines from RFC is not under a BSD-like
   license.  Instead it is only granted for non-commercial Internet
   Privacy-Enhanced Mail.
2. MD2 is quite deprecated as it is no longer considered a cryptographically
   strong algorithm.

Discussed with:	so (cperciva), core
2012-04-28 02:48:51 +00:00
Hans Petter Selasky
49421a093b Style.
Suggested by:	dumbbell @
2012-04-27 09:22:46 +00:00
Hans Petter Selasky
621d9454f7 Add libusb.so.2 to obsolete files.
Suggested by:	dumbbell @
2012-04-26 14:34:46 +00:00
Ruslan Ermilov
b28248c70c Fixed a misspelling of OLD_LIBS in r232671 by pluknet@.
(The patch in the PR 165523 had this spelled correctly.)
2012-04-26 09:07:32 +00:00
Dimitry Andric
dff0c46c97 Upgrade our copy of llvm/clang to trunk r154661, in preparation of the
upcoming 3.1 release (expected in a few weeks).  Preliminary release
notes can be found at: <http://llvm.org/docs/ReleaseNotes.html>

MFC after:	2 weeks
2012-04-16 21:23:25 +00:00
Stanislav Sedov
7ea3cd35f9 - Actually fill the date of the Heimdal update. 2012-03-23 07:52:37 +00:00
Stanislav Sedov
e72d4bca03 - Take krb5_verify_user.3.gz out of ObsoleteFiles as it's still being
installed.
- Add 32-bit compat old kerberos libraries to ObsoleteFiles as well.

Reported by:	pluknet@
2012-03-23 07:45:11 +00:00
Sergey Kandaurov
218eced404 Remove archive_entry_*_w(3) entries from ObsoleteFiles.inc. Since the
recent libarchive import they are MLINK'ed again.
2012-03-23 06:57:04 +00:00
Stanislav Sedov
ae77177087 - Update FreeBSD Heimdal distribution to version 1.5.1. This also brings
several new kerberos related libraries and applications to FreeBSD:
  o kgetcred(1) allows one to manually get a ticket for a particular service.
  o kf(1) securily forwards ticket to another host through an authenticated
    and encrypted stream.
  o kcc(1) is an umbrella program around klist(1), kswitch(1), kgetcred(1)
    and other user kerberos operations. klist and kswitch are just symlinks
    to kcc(1) now.
  o kswitch(1) allows you to easily switch between kerberos credentials if
    you're running KCM.
  o hxtool(1) is a certificate management tool to use with PKINIT.
  o string2key(1) maps a password into key.
  o kdigest(8) is a userland tool to access the KDC's digest interface.
  o kimpersonate(8) creates a "fake" ticket for a service.

  We also now install manpages for some lirbaries that were not installed
  before, libheimntlm and libhx509.

- The new HEIMDAL version no longer supports Kerberos 4.  All users are
  recommended to switch to Kerberos 5.

- Weak ciphers are now disabled by default.  To enable DES support (used
  by telnet(8)), use "allow_weak_crypto" option in krb5.conf.

- libtelnet, pam_ksu and pam_krb5 are now compiled with error on warnings
  disabled due to the function they use (krb5_get_err_text(3)) being
  deprecated.  I plan to work on this next.

- Heimdal's KDC now require sqlite to operate.  We use the bundled version
  and install it as libheimsqlite.  If some other FreeBSD components will
  require it in the future we can rename it to libbsdsqlite and use for these
  components as well.

- This is not a latest Heimdal version, the new one was released while I was
  working on the update.  I will update it to 1.5.2 soon, as it fixes some
  important bugs and security issues.
2012-03-22 08:48:42 +00:00
Sergey Kandaurov
8e0c0202da Remove TARGET_ARCH conditionals for COMPAT_FREEBSD32.
Requested by:	nwhitehorn
Reviewed by:	nwhitehorn
MFC after:	1 week
2012-03-15 17:01:25 +00:00
Konstantin Belousov
b80dcb55aa Remove fifo.h. The only used function declaration from the header is
migrated to sys/vnode.h.

Submitted by:	gianni
2012-03-11 12:19:58 +00:00
Sergey Kandaurov
8b6ebc0a46 Add lib32 part for libutil after its version bump to 9.
PR:		misc/165523
Submitted by:	Andrey Zonov <andrey zonov org>
MFC after:	1 week
2012-03-07 20:46:59 +00:00
Sergey Kandaurov
c8f49c191a Correct pathname for manpages after libarchive 3.0.3 update. 2012-02-28 14:35:36 +00:00
Sergey Kandaurov
935921eac7 Add lib32 part after libarchive 3.0.3 update. 2012-02-28 11:06:52 +00:00
Martin Matuska
6c95142e79 Update libarchive to 3.0.3
Some of new features:
  - New readers: RAR, LHA/LZH, CAB reader, 7-Zip
  - New writers: ISO9660, XAR
  - Improvements to many formats, especially including ISO9660 and Zip
  - Stackable write filters to write, e.g., tar.gz.uu in a single pass
  - Exploit seekable input; new "seekable" Zip reader can exploit the Zip
    Central Directory when it's available; the old "streamable" Zip reader
    is still fully supported for cases where seeking is not possible.

Full release notes available at:
	https://github.com/libarchive/libarchive/wiki/ReleaseNotes
2012-02-25 10:58:02 +00:00
Christian Brueffer
6bdc1841a9 Catch up with r195837 (2.5 years ago) which renamed net_add_domain() to domain_add().
PR:		165424
Submitted by:	Lachlan Kang
MFC after:	1 week
2012-02-23 17:47:19 +00:00
Ed Schouten
f9d9bcd45e Remove wtmpcvt(1).
The wtmpcvt(1) utility converts wtmp files to the new format used by
utmpx(3). Now that HEAD has been branched to stable/9 and 9.0 is
released, there is no need for it in HEAD.

MFC after:	never
2012-01-13 15:40:49 +00:00
Gleb Smirnoff
3d6c421fab Remove if_carp.ko. /boot/kernel should be upgraded atomically.
Requested by:	netchild, bz
2011-12-19 12:50:12 +00:00
Gleb Smirnoff
663222f1d2 - Rename if_carp.ko to carp.ko.
- carp.ko depends on sha1.c
2011-12-16 14:28:34 +00:00
Xin LI
4c50947c21 Reflect the move of eventtimers(7) to eventtimers(4). 2011-12-14 23:22:40 +00:00
Marius Strobl
3af069c5a3 Deorbit the broken amd(4) (see PR 124667), which was superseded by esp(4)
as of r227006.
2011-11-25 19:29:21 +00:00
Max Khon
24d1b19ec4 libodialog: disconnect from the build and obsolete. 2011-11-24 20:31:06 +00:00
Antoine Brodin
393404f7d9 Add more obsolete files. 2011-11-06 14:00:18 +00:00
Nathan Whitehorn
b2e855ac7a Now that its only consumer is gone (sysinstall), remove libftpio as well. 2011-10-03 20:49:02 +00:00
Nathan Whitehorn
f8a0d2f658 Fix a number of platform problems in this file (mostly assuming that only
amd64 has lib32).
2011-10-03 20:46:36 +00:00
Nathan Whitehorn
e59e2d8ec7 Farewall, sysinstall! You served us well for many years, but 10.0 is one
digit beyond your time.

Various sysinstall dependencies (e.g. libftpio, libdisk, libodialog, etc.)
will be cleaned up in coming days. Some will take longer than others due to
a few other consumers (tzsetup and sade).
2011-10-03 15:13:09 +00:00
Lawrence Stewart
f772f9fe43 Rename the cc.4 and cc.9 modular congestion control related man pages to
mod_cc.4 and mod_cc.9 respectively to avoid any possible confusion with the cc.1
gcc man page. Update references to these man pages where required.

Requested by:	Grenville Armitage
Approved by:	re (kib)
MFC after:	3 days
2011-09-15 12:15:36 +00:00
Sergey Kandaurov
940acbaba3 Update ObsoleteFiles.inc:
- liblwres shared library version bumped with bind98 import
- named.reload removed in favor of rc.d

Approved by:	re (kib)
No objection:	dougb
2011-09-13 13:56:18 +00:00
Sergey Kandaurov
91907fbbda Add missing lib32 parts for the previous changes:
removal of Objective-C support and libpkg; libsbuf version bump

Approved by:	re (kib)
2011-09-12 14:32:35 +00:00
Konstantin Belousov
43fae19e34 Document vm_page_aflag_set(9), vm_page_aflag_clear(9) and vm_page_reference(9).
Retire vm_page_flag_set() and vm_page_flag_clear() functions.

Reviewed by:	alc
Approved by:	re (bz)
2011-09-06 10:40:21 +00:00
Konstantin Belousov
18a646aa79 Fix for the obsolete libraries list after the 9.0 bump.
Partially noted by:	pluknet
Approved by:	re (bz)
2011-09-06 10:17:02 +00:00
Konstantin Belousov
7596eb4872 Bump shared libraries version numbers in preparation for 9.0.
This time, only libraries which ABI has been changed compared to
stable/8, are bumped.

ABI analysis done by:	Gleb Kurtsou
Approved by:	re (kensmith)
2011-08-28 09:26:48 +00:00
Christian Brueffer
3e8e3c17cf Correct some old manpage removal entries.
Approved by:	re (kib)
2011-08-27 22:10:53 +00:00
Christian Brueffer
04114c5ee3 Remove information and MLINK for MULTI_DRIVER_MODULE().
The macro was removed in r121129 almost 8 years ago.

PR:		150244
Submitted by:	Gireesh Nagabhushana <dngireesh@avrita.com>
Approved by:	re (kib)
2011-08-27 22:08:01 +00:00
Antoine Brodin
9f29985776 Add more obsolete files. 2011-07-10 15:01:14 +00:00
Alan Cox
1794df1f44 vm_map_clean() was long ago renamed to vm_map_sync(). Also, it no longer
acquires Giant.

MFC after:	1 week
2011-07-09 19:05:28 +00:00
Alan Cox
d5a9ee9fb0 Oops. These changes should have been included in r223891.
MFC after:	1 week
2011-07-09 18:09:57 +00:00
Rick Macklem
1e2cac7b7f Delete the /etc/rc.d/nfsserver script, since it is no
longer used by /etc/rc.d/nfsd and it is no longer necessary
to load the old nfs server by default, when nfs_server_enable="YES".

Tested by:	sgk at troutmask.apl.washington.edu
Reviewed by:	rc (Andrzej Tobola)
2011-07-08 00:49:50 +00:00
Rick Macklem
0b46b417fc Delete files made obsolete because they were moved to sys/nfs
in order to be shared by both NFS clients.
2011-07-05 19:26:58 +00:00
Rick Macklem
8003fe6e31 Delete files made obsolete by the change in default NFS client
and the move of nfs_kdtrace.h to sys/nfs.
2011-07-05 18:40:19 +00:00
Dimitry Andric
3b0f406639 Upgrade our copy of llvm/clang to r130700, from upstream's trunk. 2011-05-02 21:04:37 +00:00
Dimitry Andric
5d3c20e97c Remove usr/include/nfs/krpc.h and usr/include/nfs/nfsdiskless.h from
ObsoleteFiles.inc, since these files have been reincarnated in the new
NFS implementation.

Reviewed by:	rmacklem
2011-05-02 17:46:59 +00:00
Dimitry Andric
6d67f69487 Remove libobjc and other Objective-C related components, as these are
extremely outdated, and not used by anything in the base system.

Silence from:	current@
2011-04-17 21:03:23 +00:00
Remko Lodder
0e2924e78a Add sticky.8 to the obsolete files since it had been
moved to sticky.7

Submitted by:	maxim and pluknet
2011-02-24 18:13:53 +00:00
Dimitry Andric
2754fe609d Upgrade our copy of llvm/clang to r126079, from upstream's trunk.
This contains many improvements, primarily better C++ support, an
integrated assembler for x86 and support for -pg.
2011-02-20 19:33:47 +00:00
Ulrich Spörlein
9385216129 Add some obsolete manpages. 2011-02-02 21:09:30 +00:00
Nathan Whitehorn
4c8945a06b Update dialog to version 20100428. This changes the license under which
dialog is distributed from GPLv2 to LGPLv2 and introduces a number of new
features and a new and better libdialog API. The existing libdialog will
be kept temporarily as libodialog for compatibility purposes until sade,
sysinstall and tzsetup have been either updated or replaced.

__FreeBSD_version is now 900030.

Discussed on:	-current
Approved by:	core
Obtained from:	http://invisible-island.net/dialog
2011-01-12 14:55:02 +00:00
Shteryana Shopova
e9a80ed6d8 libbsnmp was moved to usr/lib 2010-12-16 11:58:50 +00:00
Doug Barton
f028d7f4c7 Add MAKEDEV.8
Submitted by:	Alex Kozlov <spam@rm-rf.kiev.ua>
2010-12-04 18:52:05 +00:00
Ulrich Spörlein
d180d7efa2 Document two more ways to find duplicates in the obsolete file list.
Remove the only duplicate found by the optional files check. Fix typos,
while here.

Suggested by:	netchild
2010-12-04 11:40:40 +00:00
Ulrich Spörlein
d74edf7f5d Remove more duplicates.
Just so that I can lookup the command for the next time:

for t in `make -V TARGETS universe`; do
  __MAKE_CONF=/dev/null make -f Makefile.inc1 -m $PWD/share/mk TARGET=$t \
  -V OLD_FILES -V OLD_LIBS -V OLD_DIRS delete-old | \
  xargs -n1|sort|uniq -c|egrep -v "^ *1 ";
done
2010-12-02 10:46:05 +00:00
Alexander Leidinger
1e09d6ca0e 1) Add a hint to check for duplicates with optional files. The committed
text is a little bit modified to what was submitted.
   The code example to automate a part of this was proposed by
   Dmitry Morozovsky.
2) Remove trailing whitespace.

Submitted by:	arundel
2010-11-22 09:37:52 +00:00
Ed Maste
3fd8ecabb6 Update comment to reflect the removal of libc_r from the tree.
Submitted by:	Alexander Best arundel@
2010-11-14 18:05:03 +00:00
Sergey Kandaurov
396a7f5025 Stop documenting vgonel() after its converting to the static function:
svn r147332 (by jeff): "Don't make vgonel() globally visible".
While here, specify the vnode locking scheme for vgone().

Discussed on:	freebsd-hackers@
Approved by:	kib (mentor)
MFC after:	10 days
2010-11-12 12:07:36 +00:00
Dimitry Andric
dfbf73475a Do not build or install gasp.info anymore, as gasp has not been built or
installed for more than 6 years.

Obtained from:	projects/binutils-2.17
2010-11-11 23:41:36 +00:00
Attilio Rao
fcb250f392 Move the mptable.h under x86/include/.
Sponsored by:	Sandvine Incorporated
MFC after:	14 days
2010-11-09 20:28:09 +00:00
John Baldwin
0f7722d8e8 Delete machine/foo.h headers moved to x86/. I forgot to commit this
earlier.
2010-11-03 13:42:59 +00:00
Andriy Gapon
7f0ab7f026 catch up manual pages with rename of vm_page_sleep_busy to vm_page_sleep_if_busy
Suggested by:	alc
MFC after:	4 days
2010-10-20 06:29:11 +00:00
Nathan Whitehorn
d1457e3703 Prevent the ofwdump manpage from being deleted by make delete-old on
PowerPC.
2010-10-15 14:34:34 +00:00
Martin Matuska
e0f0e66dfe Upgrade xz to git snapshot as of 20101010
Approved by:	delphij (mentor)
MFC after:	1 month
2010-10-11 21:16:50 +00:00
Gordon Tetlow
92dacc8d4b Add entries to remove manpath.config from etc and the examples directory.
Approved by:	wes (mentor implicit)
2010-10-09 05:50:04 +00:00
Antoine Brodin
1ec8e0e48b Add more obsolete files. 2010-10-03 18:24:31 +00:00
Matthew D Fleming
87eb406576 Mark the sbuf_overflowed(9) manpage as obsolete since it has been
renamed.

Noticed by:	jhb
2010-09-10 20:42:41 +00:00
Christian Brueffer
6a8d8aa193 Tie up some loose ends r88509 left behind:
- chooseproc() is long gone, MLINK choosethread instead
- Update NAME section for choosethread
- Mark chooseproc.9 for removal

PR:             149549
Submitted by:   pluknet
MFC after:	1 week
2010-08-15 21:25:52 +00:00
Ed Schouten
29b63864a2 Remove unneeded functions from libcompat.
Erwin fired up a ports build a couple of weeks ago and it seems the
following functions are not used by any of the 20k ports we have, which
makes me believe they don't have any purpose. Just remove them.
2010-08-06 20:13:36 +00:00
Rui Paulo
df0bccb6d7 Add an entry to remove the acpi_boost(4) man page.
Submitted by:	pluknet <pluknet at gmail.com>
2010-07-27 14:26:38 +00:00
Ed Schouten
ffd1746d03 Upgrade our Clang in base to r108428.
This commit merges the latest LLVM sources from the vendor space. It
also updates the build glue to match the new sources. Clang's version
number is changed to match LLVM's, which means /usr/include/clang/2.0
has been renamed to /usr/include/clang/2.8.

Obtained from:	projects/clangbsd
2010-07-20 17:16:57 +00:00
Warner Losh
6a6705e980 Remove detect-vmware.sh, recently removed. 2010-07-13 04:31:19 +00:00
Marcel Moolenaar
8d7c49114c <machine/intr.h> removed on powerpc. 2010-07-02 02:20:25 +00:00
Xin LI
881bfb7497 - Add versioned symbols to liblzma
- Use default SHLIB_MAJOR.

Approved by:	mm
X-MFC with:	lzma library MFC
2010-05-14 20:40:37 +00:00
David E. O'Brien
680e78b305 Non-GCC gcc compatible compilers may provide the same multimedia intrinsic
headers as GCC, but of their own implementation.  So put the GCC ones into
their own header "namespace".

Requested by:	ed
2010-05-12 19:59:32 +00:00
Juli Mallett
b92f01b79c o) Use inline functions to access coprocessor 0 registers rather than external
ones implemented using assembly.
o) Use TRAPF_USERMODE() consistently rather than USERMODE().  Eliminate
   <machine/psl.h> as a result.
o) Use intr_*() rather than *intr(), consistently.
o) Use register_t instead of u_int in some trap code.
o) Merge some more endian-related macros to machine/asm.h from NetBSD.
o) Add PTR_LI macro, which loads an address with the correct sign-extension for
   a pointer.
o) Restore interrupts when bailing out due to an excessive IRQ in
   nexus_setup_intr().
o) Remove unused functions from psraccess.S.
o) Enter temporary virtual entries for large memory access into the page tables
   rather than simply hoping they stay resident in the TLB and we don't need to
   do a refill for them.
o) Abstract out large memory mapping setup/teardown using some macros.
o) Do mips_dcache_wbinv_range() when using temporary virtual addresses just
   like we do when we can use the direct map.
2010-04-17 01:17:31 +00:00
Juli Mallett
4076170459 Remove some unused header files. 2010-04-16 02:56:24 +00:00
Marcel Moolenaar
a29917e075 <machine/nexusvar.h> removed on ia64. 2010-03-27 03:17:39 +00:00
Xin LI
36e60cda45 Remove GNU cpio after fix of CVE-2010-0624.
Note that this is actually a no-op for most users, as this GNU
cpio was broken on -HEAD and 8-STABLE since last March until
the recent fix.

FreeBSD 8.0+ uses BSD cpio by default and the code is being
actively maintained.

Blessed by:	kientzle
With hat:	secteam
MFC after:	3 days
2010-03-26 17:02:32 +00:00
Xin LI
798aea00f8 Update to zlib 1.2.4 and add versioned symbols to the
library.

Sponsored by:	iXsystems, Inc.
2010-03-22 21:11:55 +00:00
Ed Schouten
763ed73371 Trim down libcompat by removing <regexp.h>.
Erwin ran an exp-run with libcompat and <regexp.h> removed. It turns out
the regexp library is almost entirely unused. In fact, it looks like it
is sometimes used by accident. Because these function names clash with
libc's <regex.h>, some application use both <regex.h> and libcompat,
which means they link against the wrong regex library.

This commit removes the regexp library and reimplements re_comp() and
re_exec() using <regex.h>. It seems the grammar of the regular
expressions accepted by these functions is similar to POSIX EREs.

After this commit, 1 low-profile port will be broken, but the maintainer
already has a patch for it sitting in his mailbox.
2010-03-14 10:18:58 +00:00
Ed Schouten
8176ad3626 Remove last traces of <utmp.h>. 2010-03-03 18:30:10 +00:00
Marcel Moolenaar
1e02775944 ia64: <machine/sapicreg.h> and <machine/sapicvar.h> removed. 2010-02-27 19:00:13 +00:00
Antoine Brodin
6a090a38fd Add more obsolete files. 2010-02-27 17:36:13 +00:00
Jung-uk Kim
bdcf2df5c2 Initial gdbserver support for amd64. 2010-02-25 21:29:00 +00:00
Xin LI
7ffc8ae56e Move USD documents from /usr/share/doc/papers to to /usr/share/doc/usd.
Reviewed by:	gabor
2010-01-22 23:19:48 +00:00
Gabor Kovesdan
fdf1f88bce Replace GNU bc/dc with BSDL versions ported from OpenBSD. They have a good
compatibility level with the GNU counterparts and have shown to be mature
enough. For now, the GNU versions aren't removed from the tree, just detached
from the build.

Sponsored by:		Google Summer of Code 2008
Portbuild run by:	erwin
Approved by:		delphij
2010-01-20 21:30:52 +00:00
Ed Schouten
88b69f52ee Phase out ttyslot(3).
The ttyslot() function was originally part for SUSv1, marked LEGACY in
SUSv2 and removed later on. This function only makes sense when using
utmp(5), because it was used to determine the offset of the record for
the controlling TTY. It makes little sense to keep it here, because the
new utmpx file format doesn't index based on TTY slots.
2010-01-14 05:35:32 +00:00
Ed Schouten
5046a4d149 Remove <utmp.h> and its corresponding manual page. 2010-01-13 19:03:48 +00:00
Ed Schouten
21470ecd91 Remove login(3), logout(3) and logwtmp(3) from libutil.
These functions only apply to utmp(5). They cannot be kept intact when
moving towards utmpx. The login(3) function would break, because its
argument is an utmp structure. The logout(3) and logwtmp(3) functions
cannot be used, since they provide a functionality which partially
overlaps.

Increment SHLIB_MAJOR to 9 to indicate the removal.
2010-01-13 18:59:51 +00:00
Ed Schouten
691ac623d7 Remove utmpx stub from libulog.
I'm not increasing the shlib major version for this, because not a
single application outside the base system should have used these
functions in such a short timespan.

Rewrite ulog_login(3) and ulog_logout(3) to build on top of the utmpx
implementation in libc.
2010-01-13 18:53:06 +00:00
David Xu
9b0f1823b5 Use umtx to implement process sharable semaphore, to make this work,
now type sema_t is a structure which can be put in a shared memory area,
and multiple processes can operate it concurrently.
User can either use mmap(MAP_SHARED) + sem_init(pshared=1) or use sem_open()
to initialize a shared semaphore.
Named semaphore uses file system and is located in /tmp directory, and its
file name is prefixed with 'SEMD', so now it is chroot or jail friendly.
In simplist cases, both for named and un-named semaphore, userland code
does not have to enter kernel to reduce/increase semaphore's count.
The semaphore is designed to be crash-safe, it means even if an application
is crashed in the middle of operating semaphore, the semaphore state is
still safely recovered by later use, there is no waiter counter maintained
by userland code.
The main semaphore code is in libc and libthr only has some necessary stubs,
this makes it possible that a non-threaded application can use semaphore
without linking to thread library.
Old semaphore implementation is kept libc to maintain binary compatibility.
The kernel ksem API is no longer used in the new implemenation.

Discussed on: threads@
2010-01-05 02:37:59 +00:00
Antoine Brodin
b8cf11192e Complete ntptrace(8) removal:
- do not install man page
- update ObsoleteFiles.inc

Approved by:	roberto@
2010-01-03 22:29:06 +00:00
Edward Tomasz Napierala
5689f92fb0 Remove examples for pppd and SLIP-related stuff. 2009-12-29 20:20:51 +00:00
Antoine Brodin
b768916f91 Add more obsolete files. 2009-12-05 17:46:51 +00:00
Hajimu UMEMOTO
2bba0e1a00 Unify rc.firewall and rc.firewall6, and obsolete rc.firewall6
and rc.d/ip6fw.

Reviewed by:	dougb, jhb
MFC after:	1 month
2009-12-02 15:05:26 +00:00
Xin LI
3b5dbf01f7 rc.early(8) was removed as of 20090530 so remove manual page reference
to it.

MFC after:	1 week
2009-11-18 00:56:05 +00:00
Konstantin Belousov
9a714660ef Move pselect(3) man page to section 2.
Noted by:	jhb
MFC after:	1 month
2009-10-28 11:14:32 +00:00
Antoine Brodin
797b830baf Add more obsolete man pages. 2009-10-24 12:59:29 +00:00
Mark Murray
68f7de574e We haven't installed usbdevs for many moons now, and it doesn't work any
more anyway. Add it to the "obsolete" list.
2009-10-12 21:10:28 +00:00
Xin LI
b8e83993c5 Add entries for moved files during vesa/dpms promotion. 2009-09-10 21:42:00 +00:00
Remko Lodder
c8b385c86f Do the first step in removing lukemftpd from the base system. Disconnect
it from the build.

If you are using the FTP daemon, please consider using the port ftp/tnftpd
which is the same FTP server, but newer and might have more/better
functionality.

This results in us providing only one ftp daemon by default.

Reviewed by:	bz
Approved by:	imp (mentor, implicit)
MFC after:	3 days
Silence from:	obrien
2009-09-03 16:34:20 +00:00
Florent Thoumie
f038eb6d37 Remove BSD.{local,x11,x11-4}.dist mtree files as they're either obsolete or
they've moved to ports.
2009-09-02 14:56:23 +00:00
Antoine Brodin
01318abc57 ObsoleteFiles.inc:
kthread_create(9) was resurrected as a mlink to kproc(9)
2009-08-23 18:28:58 +00:00
Robert Watson
530c006014 Merge the remainder of kern_vimage.c and vimage.h into vnet.c and
vnet.h, we now use jails (rather than vimages) as the abstraction
for virtualization management, and what remained was specific to
virtual network stacks.  Minor cleanups are done in the process,
and comments updated to reflect these changes.

Reviewed by:	bz
Approved by:	re (vimage blanket)
2009-08-01 19:26:27 +00:00
Antoine Brodin
7b1399f6df Update ObsoleteFiles.inc
- Remove some USB headers that were resurrected recently
- Add new obsolete files (2 man pages and libvgl.so.5)

Approved by:	re (kib)
2009-07-20 19:51:47 +00:00
Ken Smith
3ca3047aee Bump the version of all non-symbol-versioned shared libraries in
preparation for 8.0-RELEASE.  Add the previous version of those
libraries to ObsoleteFiles.inc and bump __FreeBSD_Version.

Reviewed by:    kib
Approved by:    re (rwatson)
2009-07-19 17:25:24 +00:00
Joe Marcus Clarke
f7ce26cda0 Add an entry for etc/pam.d/gdm as this file is no longer required.
Approved by:	re (kib)
2009-07-18 16:33:27 +00:00
Robert Watson
eddfbb763d Build on Jeff Roberson's linker-set based dynamic per-CPU allocator
(DPCPU), as suggested by Peter Wemm, and implement a new per-virtual
network stack memory allocator.  Modify vnet to use the allocator
instead of monolithic global container structures (vinet, ...).  This
change solves many binary compatibility problems associated with
VIMAGE, and restores ELF symbols for virtualized global variables.

Each virtualized global variable exists as a "reference copy", and also
once per virtual network stack.  Virtualized global variables are
tagged at compile-time, placing the in a special linker set, which is
loaded into a contiguous region of kernel memory.  Virtualized global
variables in the base kernel are linked as normal, but those in modules
are copied and relocated to a reserved portion of the kernel's vnet
region with the help of a the kernel linker.

Virtualized global variables exist in per-vnet memory set up when the
network stack instance is created, and are initialized statically from
the reference copy.  Run-time access occurs via an accessor macro, which
converts from the current vnet and requested symbol to a per-vnet
address.  When "options VIMAGE" is not compiled into the kernel, normal
global ELF symbols will be used instead and indirection is avoided.

This change restores static initialization for network stack global
variables, restores support for non-global symbols and types, eliminates
the need for many subsystem constructors, eliminates large per-subsystem
structures that caused many binary compatibility issues both for
monitoring applications (netstat) and kernel modules, removes the
per-function INIT_VNET_*() macros throughout the stack, eliminates the
need for vnet_symmap ksym(2) munging, and eliminates duplicate
definitions of virtualized globals under VIMAGE_GLOBALS.

Bump __FreeBSD_version and update UPDATING.

Portions submitted by:  bz
Reviewed by:            bz, zec
Discussed with:         gnn, jamie, jeff, jhb, julian, sam
Suggested by:           peter
Approved by:            re (kensmith)
2009-07-14 22:48:30 +00:00
Edward Tomasz Napierala
e64e7115aa Move msg{snd,recv,get,ctl} manual pages from section 3 to 2.
Approved by:	re (kib)
2009-07-13 12:53:43 +00:00
Doug Rabson
f09a384fae Add usr/include/nfs/rpcv2.h
Submitted by: pluknet at gmail dot com
Approved by: re
2009-07-01 07:37:21 +00:00
Antoine Brodin
3a006d3d1e Update ObsoleteFiles.inc:
- correct a few paths
- some USB headers were removed
- devclass_add_driver(9) is no longer public
- bind 9.6.1rc1 was imported

Approved by:	re (kib)
2009-06-27 10:11:15 +00:00
Andrew Thompson
b35f050eb2 Move programming info from usb(4) to usbdi(9) and update for the usb stack
changeover. Needs much more content still.
2009-06-24 17:01:17 +00:00
Ed Schouten
8888f696d0 Remove clists from the kernel.
Clists were originally used by the TTY layer as a text buffer interface.
The advantage of clists were that it would allocate a small set of
additional buffers that could be shared between TTYs when needed. In
the modern days we can just allocate some more KBs of memory to keep the
TTYs satisfied. The global cfreelist also requires synchronisation,
which may not be useful when trying to improve scalability.

The MPSAFE TTY layer uses its own text buffers (ttyinq and ttyoutq). We
had a small amount of drivers in the tree that still uses clists, like
the old USB stack and some keyboard drivers. With the old USB stack gone
and the keyboard drivers changed to use a circular buffer, we can safely
remove clists from the kernel.
2009-06-05 15:31:38 +00:00
Ed Schouten
89f98d57d6 Remove window(1) from the base system.
Some time ago Tom Rhodes sent me an email that he was willing to perform
various cleanups to the window(1) source code. After some discussion, we
both decided the best thing to do, was to move window(1) to the ports
tree. The application isn't used a lot nowadays, mainly because it has
been superseeded by screen, tmux, etc.

A couple of hours ago Tom committed window(1) to ports (misc/window), so
I'm removing it from the tree. I don't think people will really miss it,
but I'm describing the change in UPDATING anyway.

Discussed with:	trhodes, pav, kib
Approved by:	re
2009-06-02 13:44:36 +00:00
Doug Barton
dd2b024a33 Removal of early.sh 2009-05-30 19:39:57 +00:00
Ed Schouten
3d98b75bac Rename the queue macros I introduced last year.
Last year I added SLIST_REMOVE_NEXT and STAILQ_REMOVE_NEXT, to remove
entries behind an element in the list, using O(1) time. I recently
discovered NetBSD also has a similar macro, called SLIST_REMOVE_AFTER.
In my opinion this approach is a lot better:

- It doesn't have the unused first argument of the list pointer. I added
  this, mainly because OpenBSD also had it.

- The _AFTER suffix makes a lot more sense, because it is related to
  SLIST_INSERT_AFTER. _NEXT is only used to iterate through the list.

The reason why I want to rename this now, is to make sure we don't
release a major version with the badly named macros.
2009-05-27 19:28:04 +00:00
Doug Barton
b4d722d936 Note the removal of makekey(8)
Requested by:	bz
2009-05-27 18:11:12 +00:00
Andrew Thompson
11c63ede84 Delete the old USB stack. The new stack has settled in and has all the
drivers/functionality and then some.
2009-05-27 16:16:56 +00:00
Antoine Brodin
dfb31dee87 Add more obsolete files, old NFSv4 client and legacy USB related. 2009-05-23 16:54:07 +00:00
Robert Watson
5cc27cc352 Add University of Michigan removed files to ObsoleteFiles.inc.
Submitted by:	Pawel Worach <pawel.worach at gmail.com>
2009-05-22 13:57:44 +00:00
Antoine Brodin
c42ddf78f3 usbdevs(8) is not obsoleted, just temporarily disconnected from the build
Noticed by:	ru@
2009-04-18 22:16:46 +00:00
Antoine Brodin
41c0e77598 Add more obsolete files, usb related. 2009-04-18 18:21:42 +00:00
Maxim Konovalov
830ceff933 o Reflect ar(4), ray(4), sr(4), raycontrol(8) removal. 2009-04-16 17:42:25 +00:00
Daniel Gerzo
88fd9cff39 - fix my previous commit (added missing .gz)
Submitted by:	brueffer
2009-04-10 22:15:01 +00:00
Daniel Gerzo
def925c574 - VOP_LEASE.9 has been removed
Approved by:	rwatson
2009-04-10 14:24:12 +00:00
Ruslan Ermilov
9596b6dea8 Removed more vestiges of if_sl(4). 2009-04-09 12:20:37 +00:00
Ruslan Ermilov
ecac0338c1 - Added libpcap.so.5 to OLD_LIBS.
- Added 32-bit versions of libusb20* to OLD_{LIBS,FILES}.
- Added 32-bit version of libmp.so.6 to OLD_LIBS.
2009-04-06 13:14:34 +00:00
Ed Schouten
d2a0bb0803 Remove if_ppp(4) and if_sl(4).
Not only did these two drivers depend on IFF_NEEDSGIANT, they were
broken 7 months ago during the MPSAFE TTY import. if_ppp(4) has been
replaced by ppp(8). There is no replacement for if_sl(4).

If we see regressions in for example the ports tree, we should just use
__FreeBSD_version 800045 to check whether if_ppp(4) and if_sl(4) are
present. Version 800045 is used to denote the import of MPSAFE TTY.

Discussed with: rwatson, but also rwatson's IFF_NEEDSGIANT emails on the
                lists.
2009-04-05 22:08:18 +00:00
Tom Rhodes
2364576d14 Use the real removal date for fla(4), put the entry with
other 2004* entries.
2009-04-01 09:37:00 +00:00
Tom Rhodes
f93ff25e48 Add an entry for fla.4. 2009-04-01 09:27:45 +00:00
Andrew Thompson
2b78d30630 Remove the uscanner(4) driver, this follows the removal of the kernel scanner
driver in Linux 2.6. uscanner was just a simple wrapper around a fifo and
contained no logic, the default interface is now libusb (supported by sane).

Reviewed by:	HPS
2009-03-19 20:33:26 +00:00
Christian Brueffer
e17a240515 k8temp(4) has been renamed to amdtemp(4). 2009-03-18 18:42:58 +00:00
Andrew Thompson
e90540f2ba Fix up the entries for libusb, it seems it existed back in 2002 so it was
getting removed again.

Reported by:	Steve Kargl
2009-03-09 23:18:07 +00:00
Andrew Thompson
a091d2a525 Install libusb20.so.1 as libusb.so.1, there will be a followup commit to the
ports tree so that programs use libusb from the base by default. Thanks to
Stanislav Sedov for sorting out the ports build.

Bump __FreeBSD_version to 800069

Help and testing by:	stas
2009-03-09 17:05:31 +00:00
Ed Schouten
b3aaa0cc21 Rename all symbols in libmp(3) to mp_*, just like Solaris.
The function pow() in libmp(3) clashes with pow(3) in libm. We could
rename this single function, but we can just take the same approach as
the Solaris folks did, which is to prefix all function names with mp_.

libmp(3) isn't really popular nowadays. I suspect not a single
application in ports depends on it. There's still a chance, so I've
increased the SHLIB_MAJOR and __FreeBSD_version.

Reviewed by:	deischen, rdivacky
2009-02-26 21:43:15 +00:00
Andrew Thompson
68ca00432b delete-old does not recursively delete dirs so list all its contents too.
Spotted by:	naddy
2009-02-24 16:47:59 +00:00
Andrew Thompson
0b3088ad05 Add ObsoleteFiles entries for the USB changeover. 2009-02-23 19:13:12 +00:00
Rafal Jaworowski
ab8b490a63 Initial gdbserver support for PowerPC.
Obtained from:	Juniper Networks, Semihalf
2009-02-23 18:22:49 +00:00
Ed Schouten
6a4dc56627 Add the pccard header files to ObsoleteFiles.inc.
Reviewed by:	imp
2009-02-15 18:30:44 +00:00
Marcel Moolenaar
d4f781711a Don't remove gdbserver on ARM. It's not obsolete. In fact,
it's quite nouveau...
2009-02-15 03:42:14 +00:00
Gabor Kovesdan
0928cdfc3f Reflect adding_user.8 -> adding_user.7 rename
Reminded by:	kib
2009-02-03 20:46:05 +00:00
Antoine Brodin
0f11b536ef Add obsolete files after tzdata2009a and file 4.26 imports 2009-01-25 19:03:30 +00:00
Antoine Brodin
35b81ec2e5 Add an obsolete file. 2009-01-03 11:25:50 +00:00
Bjoern A. Zeeb
f3b28b6bfb Remove long unused netinet/ipprotosw.h (basically since r82884).
Discussed with:		rwatson
MFC after:		4 weeks
2008-12-23 16:52:03 +00:00
Antoine Brodin
bf9b367941 Add more obsolete files. 2008-11-30 11:03:16 +00:00
Ed Schouten
66c6ebfe6b Several documentation fixups related to device minor/major numbers:
- Document the minor(3), major(3) and makedev(3) macro's. They also
  apply to umajor() and uminor() in the kernel, but hopefully we'll sort
  that out one day.

- Briefly dev2unit() inside the make_dev(9) manual page, since this is
  now the preferred macro to obtain character device unit numbers inside
  the kernel.

- Remove the device_ids(9) manual page. It contains highly inaccurate
  information, such as a description of the nonexistent major().
2008-09-28 20:15:45 +00:00
Antoine Brodin
de6e96573a Correct suser(9) entry. 2008-09-21 16:11:11 +00:00
Attilio Rao
cecd8edba5 Remove the suser(9) interface from the kernel. It has been replaced from
years by the priv_check(9) interface and just very few places are left.
Note that compatibility stub with older FreeBSD version
(all above the 8 limit though) are left in order to reduce diffs against
old versions. It is responsibility of the maintainers for any module, if
they think it is the case, to axe out such cases.

This patch breaks KPI so __FreeBSD_version will be bumped into a later
commit.

This patch needs to be credited 50-50 with rwatson@ as he found time to
explain me how the priv_check() works in detail and to review patches.

Tested by:      Giovanni Trematerra <giovanni dot trematerra at gmail dot com>
Reviewed by:    rwatson
2008-09-17 15:49:44 +00:00
Antoine Brodin
4e2941d821 Add an obsolete file: pax removed from rescue. 2008-09-14 17:49:46 +00:00
Antoine Brodin
c6642c52eb Add files to remove when WITHOUT_HESIOD is set.
This fixes "make check-old" when WITH_HESIOD is set.

PR:		122406
MFC after:	1 month
2008-09-13 17:29:49 +00:00
John Baldwin
26e4688329 Resurrect the sbni(4) driver. Someone finally tested the MPSAFE patches and
the driver worked ok with them.

Tested by:	friends of yar
2008-09-10 18:36:58 +00:00
Antoine Brodin
598027bb46 Add more obsolete files. 2008-08-31 08:33:41 +00:00
Ed Schouten
878f530ff8 Remove the now unneeded pt_chown utility.
Before we had a posix_openpt() that allocated PTY's with proper
permissions in place, we used this set-uid utility to change the
ownership of PTY slave devices to the real user ID of the process. This
utility was used to implement grantpt().

In my first designs of the MPSAFE TTY layer, I replaced this by adding
an ioctl() called TIOCGRANTPT, which was used to change the ownership.
I left the pt_chown utility, because older C libraries needed it to work
properly.

After some discussions back in June I changed the PTY code to set
permissions properly upon creation. Fortunately the previous grantpt()
implementation changed permissions by hand when pt_chown is not
installed, which always succeeds. This means grantpt() still works
properly, even though the set-uid utility is missing.

I've done tests with FreeBSD 5.2.1, FreeBSD 6.3 and FreeBSD 7.0 jails.
All of them still work if I remove pt_chown.

Reviewed by:	philip (ex-mentor)
2008-08-24 10:01:22 +00:00