Commit Graph

407 Commits

Author SHA1 Message Date
dougb
6be4268752 Add MAKEDEV.8
Submitted by:	Alex Kozlov <spam@rm-rf.kiev.ua>
2010-12-04 18:52:05 +00:00
uqs
27a502627f 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
uqs
e6bd4821dc 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
netchild
1ea5ca6b7b 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
emaste
217241ab5e 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
pluknet
a360d1cba6 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
dim
4a9a1d63b9 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
4963bf694d Move the mptable.h under x86/include/.
Sponsored by:	Sandvine Incorporated
MFC after:	14 days
2010-11-09 20:28:09 +00:00
jhb
54aa1adf6c Delete machine/foo.h headers moved to x86/. I forgot to commit this
earlier.
2010-11-03 13:42:59 +00:00
avg
ceaa77fada 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
nwhitehorn
27659e5aa6 Prevent the ofwdump manpage from being deleted by make delete-old on
PowerPC.
2010-10-15 14:34:34 +00:00
mm
f93bdfc53f 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
c9c2239f78 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
a4437efaca Add more obsolete files. 2010-10-03 18:24:31 +00:00
mdf
b25dd573cd Mark the sbuf_overflowed(9) manpage as obsolete since it has been
renamed.

Noticed by:	jhb
2010-09-10 20:42:41 +00:00
brueffer
d6f7bade91 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
b5b833a850 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
rpaulo
cb6a673b7b 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
b9a7e30aff 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
imp
0ac6bad14a Remove detect-vmware.sh, recently removed. 2010-07-13 04:31:19 +00:00
marcel
d80a9e6e4a <machine/intr.h> removed on powerpc. 2010-07-02 02:20:25 +00:00
delphij
957781bce7 - 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
obrien
32d515bca0 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
jmallett
5605409291 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
jmallett
d54e6dc056 Remove some unused header files. 2010-04-16 02:56:24 +00:00
marcel
bc320635f6 <machine/nexusvar.h> removed on ia64. 2010-03-27 03:17:39 +00:00
delphij
c77aa7eff5 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
delphij
242fa9b755 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
delphij
f1216d1f0a Create a custom branch where I will be able to do the merge. 2010-03-19 00:19:55 +00:00
ed
1cea028198 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
cb38fdae7c Remove last traces of <utmp.h>. 2010-03-03 18:30:10 +00:00
marcel
7bfafd520f ia64: <machine/sapicreg.h> and <machine/sapicvar.h> removed. 2010-02-27 19:00:13 +00:00
antoine
d828528c4c Add more obsolete files. 2010-02-27 17:36:13 +00:00
jkim
89265a4363 Initial gdbserver support for amd64. 2010-02-25 21:29:00 +00:00
delphij
6facf0f8e1 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
bc4e1f6f87 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
c47f4ccef3 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
a40e5b0c48 Remove <utmp.h> and its corresponding manual page. 2010-01-13 19:03:48 +00:00
ed
fc12a579a0 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
fee8e21b50 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
davidxu
87c8a1faf2 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
426f62b3cf Complete ntptrace(8) removal:
- do not install man page
- update ObsoleteFiles.inc

Approved by:	roberto@
2010-01-03 22:29:06 +00:00
trasz
4465947ce0 Remove examples for pppd and SLIP-related stuff. 2009-12-29 20:20:51 +00:00
antoine
b50f73207a Add more obsolete files. 2009-12-05 17:46:51 +00:00
ume
ba7665678f 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
delphij
fae81b7f57 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
kib
8d44ea1c45 Move pselect(3) man page to section 2.
Noted by:	jhb
MFC after:	1 month
2009-10-28 11:14:32 +00:00
antoine
faab8f4d7c Add more obsolete man pages. 2009-10-24 12:59:29 +00:00
markm
432218a329 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
delphij
8592325f69 Add entries for moved files during vesa/dpms promotion. 2009-09-10 21:42:00 +00:00
remko
dcd2780b1c 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
flz
4b2e16125a 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
ff425aaac4 ObsoleteFiles.inc:
kthread_create(9) was resurrected as a mlink to kproc(9)
2009-08-23 18:28:58 +00:00
rwatson
fb9ffed650 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
cd553309bd 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
kensmith
9c2c634ee9 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
marcus
9c900caff1 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
rwatson
57ca4583e7 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
trasz
1f46aed53d 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
dfr
609bc8c9f9 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
e63ef9bd2b 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
thompsa
5910fa6cfc 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
e2c9e0cf9e 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
e0cac889c6 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
dougb
aacbbee3d5 Removal of early.sh 2009-05-30 19:39:57 +00:00
ed
3779b68747 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
dougb
a8416dd103 Note the removal of makekey(8)
Requested by:	bz
2009-05-27 18:11:12 +00:00
thompsa
14ea3ee2bb 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
a3768cee5a Add more obsolete files, old NFSv4 client and legacy USB related. 2009-05-23 16:54:07 +00:00
rwatson
708f333f84 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
60cacdeeef usbdevs(8) is not obsoleted, just temporarily disconnected from the build
Noticed by:	ru@
2009-04-18 22:16:46 +00:00
antoine
18daf1cd54 Add more obsolete files, usb related. 2009-04-18 18:21:42 +00:00
maxim
20f4c52ac3 o Reflect ar(4), ray(4), sr(4), raycontrol(8) removal. 2009-04-16 17:42:25 +00:00
danger
4c9797d742 - fix my previous commit (added missing .gz)
Submitted by:	brueffer
2009-04-10 22:15:01 +00:00
danger
62feb9bfc2 - VOP_LEASE.9 has been removed
Approved by:	rwatson
2009-04-10 14:24:12 +00:00
ru
6ab30b8e7c Removed more vestiges of if_sl(4). 2009-04-09 12:20:37 +00:00
ru
53892e266c - 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
36d960175a 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
trhodes
9aa3b3f51f Use the real removal date for fla(4), put the entry with
other 2004* entries.
2009-04-01 09:37:00 +00:00
trhodes
4b9b5a58ac Add an entry for fla.4. 2009-04-01 09:27:45 +00:00
thompsa
11f8f68779 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
brueffer
bbf812d15d k8temp(4) has been renamed to amdtemp(4). 2009-03-18 18:42:58 +00:00
thompsa
59eddbbe2e 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
thompsa
4aa75fa98d 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
fa4082de19 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
thompsa
2c58eacc70 delete-old does not recursively delete dirs so list all its contents too.
Spotted by:	naddy
2009-02-24 16:47:59 +00:00
thompsa
3b404a3c15 Add ObsoleteFiles entries for the USB changeover. 2009-02-23 19:13:12 +00:00
raj
124e83aa64 Initial gdbserver support for PowerPC.
Obtained from:	Juniper Networks, Semihalf
2009-02-23 18:22:49 +00:00
ed
f1ddced050 Add the pccard header files to ObsoleteFiles.inc.
Reviewed by:	imp
2009-02-15 18:30:44 +00:00
marcel
1b9aa1b9ed 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
db0963893d Reflect adding_user.8 -> adding_user.7 rename
Reminded by:	kib
2009-02-03 20:46:05 +00:00
antoine
34c3dd7ace Add obsolete files after tzdata2009a and file 4.26 imports 2009-01-25 19:03:30 +00:00
antoine
b3e09f9424 Add an obsolete file. 2009-01-03 11:25:50 +00:00
bz
46b52a2d38 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
49df60a6f0 Add more obsolete files. 2008-11-30 11:03:16 +00:00
ed
3b64cecd5c 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
cb1985818d Correct suser(9) entry. 2008-09-21 16:11:11 +00:00
attilio
23ff3dbeb8 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
890cb2fc08 Add an obsolete file: pax removed from rescue. 2008-09-14 17:49:46 +00:00
antoine
a7c4611926 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
jhb
70e9d3b331 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
ab700039e9 Add more obsolete files. 2008-08-31 08:33:41 +00:00
ed
126d9ed063 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
ed
cc3116a938 Integrate the new MPSAFE TTY layer to the FreeBSD operating system.
The last half year I've been working on a replacement TTY layer for the
FreeBSD kernel. The new TTY layer was designed to improve the following:

- Improved driver model:

  The old TTY layer has a driver model that is not abstract enough to
  make it friendly to use. A good example is the output path, where the
  device drivers directly access the output buffers. This means that an
  in-kernel PPP implementation must always convert network buffers into
  TTY buffers.

  If a PPP implementation would be built on top of the new TTY layer
  (still needs a hooks layer, though), it would allow the PPP
  implementation to directly hand the data to the TTY driver.

- Improved hotplugging:

  With the old TTY layer, it isn't entirely safe to destroy TTY's from
  the system. This implementation has a two-step destructing design,
  where the driver first abandons the TTY. After all threads have left
  the TTY, the TTY layer calls a routine in the driver, which can be
  used to free resources (unit numbers, etc).

  The pts(4) driver also implements this feature, which means
  posix_openpt() will now return PTY's that are created on the fly.

- Improved performance:

  One of the major improvements is the per-TTY mutex, which is expected
  to improve scalability when compared to the old Giant locking.
  Another change is the unbuffered copying to userspace, which is both
  used on TTY device nodes and PTY masters.

Upgrading should be quite straightforward. Unlike previous versions,
existing kernel configuration files do not need to be changed, except
when they reference device drivers that are listed in UPDATING.

Obtained from:		//depot/projects/mpsafetty/...
Approved by:		philip (ex-mentor)
Discussed:		on the lists, at BSDCan, at the DevSummit
Sponsored by:		Snow B.V., the Netherlands
dcons(4) fixed by:	kan
2008-08-20 08:31:58 +00:00
ed
003d76444b Remove <sgtty.h> now it has no practical usage.
When I turned sgtty into a binary-only interface (last month), I added
this explicit #error to the header file, to make sure nobody forgot to
remove the header file after updating world.

I think it is now a good moment to remove this header file.

Approved by:	philip (mentor)
2008-07-25 12:37:46 +00:00
marcel
89c53cc1fe Remove sade(8) on the following platforms:
o  arm, mips & powerpc: libdisk is non-functional.
o  ia64: libdisk is insufficient.
2008-07-19 18:21:52 +00:00
antoine
ee85666072 Add an obsolete header after pecoff removal.
Approved by:	rwatson (mentor)
2008-07-13 17:17:35 +00:00
marcel
bdbada7ab2 Obsolete bsdlabel(8) on powerpc. Use gpart(8) instead. 2008-07-06 20:57:35 +00:00
jhb
641b82a447 Remove the sbsh(4) driver. No one responded to requests for testing the
MPSAFE patches on current@ and stable@.  This driver also has a fundamental
issue in that it sleeps when sending commands to the card including in the
if_init/if_start routines (which can be called from interrupt context).  As
such, the driver shouldn't be working reliably even on 4.x.
2008-07-04 21:24:35 +00:00
jhb
a495f456d1 Remove the sbni(4) driver. No one responded to calls to test it on
current@ and stable@.
2008-07-04 21:06:57 +00:00
jhb
026267261c Remove the oltr(4) driver. No one responded to calls for testing on
current@ and stable@ for the locking patches.  The driver can always be
revived if someone tests it.

This driver also sleeps in its if_init routine, so it likely doesn't really
work at all anyway in modern releases.
2008-07-04 18:58:53 +00:00
jhb
cb0b8573c7 Remove the arl(4) driver. It is reported to not work on 6.x or later
even though the driver hasn't changed since 4.x (last known working
release).
2008-07-04 18:15:36 +00:00
marcel
64ea45c65b sunlabel(8) is specific to sparc64. Remove from other platforms.
use gpart(8) on all platforms.
2008-07-04 04:39:45 +00:00
marcel
a48906e3d1 bsdlabel and fdisk are obsoleted on ia64.
While here, make sure to remove any remnants of the disklabel
manpage.
2008-07-03 21:00:16 +00:00
danger
0739111e2a The example wpa_supplicant.conf file has been moved to share/examples/etc/,
see r180158 for references

Approved by:	brooks
MFC after:	3 days
2008-07-01 21:54:08 +00:00
ed
e735353f8d Turn sgtty into a binary-only compatibility interface.
sgtty was the original interface to configure terminal attributes on my
UNIX-like operating systems. It has been deprecated by the POSIX termios
interface, which is implemented in almost any modern system.

An advantage of turning this into a binary compatibility interface, is
that we can now eventually remove the COMPAT_43TTY switch from kernel
configurations. This removes many ioctl()'s from the TTY layer.

While there, increase the __FreeBSD_version, which may be useful for the
people working on the Ports tree.

Reviewed by:	kib
Approved by:	philip (mentor)
2008-06-14 10:42:18 +00:00
marcel
e5ee486df2 Removal of gpt(8) and manpage. 2008-06-09 21:36:46 +00:00
bz
dafea8ef3f To both the (formerly) 'temporarily disconnected' netatm and I4B modules
add a comment "(removed 20080525)" to make clear that it is no longer
temporary.
2008-05-27 21:05:49 +00:00
antoine
005545d916 Add more obsolete files.
Approved by:	rwatson (mentor)
2008-05-27 18:22:54 +00:00
bz
6bba9b4244 Remove ISDN4BSD (I4B) from HEAD as it is not MPSAFE and
parts relied on the now removed NET_NEEDS_GIANT.
Most of I4B has been disconnected from the build
since July 2007 in HEAD/RELENG_7.

This is what was removed:
- configuration in /etc/isdn
- examples
- man pages
- kernel configuration
- sys/i4b (drivers, layers, include files)
- user space tools
- i4b support from ppp
- further documentation

Discussed with: rwatson, re
2008-05-26 10:40:09 +00:00
antoine
900481a7e7 Add more obsolete files.
Approved by:	rwatson (mentor)
2008-05-10 18:43:22 +00:00
antoine
e68bfce88e Add recent obsolete files.
Approved by:	rwatson (mentor)
2008-04-20 16:03:19 +00:00
flz
7f88e6ec38 Add pkg_check and pkg_sign to ObsoleteFiles.inc
Reminded by:	Pawel Worach
MFC after:	1 week
2008-04-01 11:05:26 +00:00
ru
0f0375e36a Remove options MK_LIBKSE and DEFAULT_THREAD_LIB now that we no longer
build libkse.  This should fix WITHOUT_LIBTHR builds as a side effect.
2008-03-29 17:44:40 +00:00
remko
5c2e61e801 Document the removal data for usbdevs.h and usbdevs_data.h,
sort the entry into it's correct place (behind 200407XX before
200406XX because we have an explicit date here).

PR:		misc/122098
Submitted by:	"John Hein" <jhein@timing.com>
MFC after:	3 days
2008-03-26 06:45:28 +00:00
brueffer
eb28d34369 Add an include file from the removed XRPU driver.
PR:		121654
Submitted by:	pluknet <pluknet@gmail.com>
Approved by:	rwatson (mentor)
2008-03-13 18:17:46 +00:00
antoine
587a314ce8 Add some obsolete usr/lib32 libraries.
PR:		117189
Submitted by:	Scot Hetzel
Approved by:	rwatson (mentor)
MFC after:	1 month
2008-03-08 21:59:43 +00:00
thompsa
0e22dfe125 geom_lvm(4) is now known as geom_linux_lvm(4). 2008-02-20 11:32:12 +00:00
delphij
2b6b4fdebb Revert rev. 1.128, we have a hard link generated from new
hptrr(4) to rr232x.

Pointed out by:	bruffer
Pointy hat to:	delphij
2008-02-06 19:45:45 +00:00
marcel
4f805c3018 The man page of ofwdump(8) is installed as usr/share/man/man8/ofwdump.8.gz
again on powerpc and sparc64. Un-obsolete it for these two so that we
don't remove it right after installing it.
2008-02-06 19:03:14 +00:00
delphij
e6ee3bcfea Reflect rr232x(4) manpage removal 2008-02-06 18:43:47 +00:00
brueffer
32a629a8b5 OLDCARD is long gone, so finally remove the oldcard.4 manpage.
Confirmed by:	imp
2008-01-26 20:23:25 +00:00
attilio
9688ef1c88 Reflect BUF_REFCNT(9) removal.
Pointed out by: brueffer
2008-01-22 20:08:09 +00:00
jhb
bda1948e7a Add entries for manpages for pmc_x86_get_msr(3), kthread_create(9),
shm_open(3), and shm_unlink(3).
2008-01-11 13:41:31 +00:00
dougb
6bd01c70a2 Combine the fortunes-o.real and the fortunes2-o file, as was done
with fortunes and fortunes2 2 years and 2 days ago. The fortunes2-o
file was brought in with the original import of the 4.4 Lite games
directory, but has always consisted in large part of fortunes
duplicated from other files.

The combined size of the two files is still only 631K, or less
than 1/3rd of the size of the fortunes file.

Combining them has the added benefit of making the fortunes from
fortunes2-o visibile to fortune(6)'s -m option.

This change should probably not be MFC'ed beyond RELENG_7.
2007-12-07 22:56:10 +00:00
brooks
03d7b44297 To reduce the impact of possible removal of the syscalls required by
libkse in FreeBSD 8.0, do not build or install static versions of libkse
(i.e. libkse*.a) in the default case.  Static versions will be built and
installed if libthr is not built or if libkse is the default threading
library.

Discussed on:	freebsd-arch
MFC after:	3 days
2007-11-29 21:49:08 +00:00
jb
ffc9443b03 Remove an OpenSolaris compatibility header that is no longer referenced. 2007-11-28 23:21:55 +00:00
brix
3a7e672361 Add usr/lib/libgssapi_krb5.so.8 to the list of old libs from the
20071120 shared library version bump.

Update the date in the comments to match the date of the actual
commit.

Approved by:	bz, erwin (mentor)
MFC after:	3 days
2007-11-27 13:58:25 +00:00
ru
c05b8c3d05 Correct a path for obsolete liblwres.so.10.
Reported by:	Alexey Shuvaev on -current
2007-11-21 10:49:33 +00:00
delphij
e7e6a01913 Mark old shared library versions as obsolete. 2007-11-20 22:12:52 +00:00
marcel
6a78af898e Catch up to changes in rescue on ia64. 2007-11-16 04:03:08 +00:00
imp
a38a20f6dd etc/defaults/pccard.conf has been relegated to the scrapheap of
history, note its newly minted obsolete status here.
2007-11-08 17:43:13 +00:00
bushman
d0be68189d Adding recently removed etc/cached.conf to the list of obsolete files.
Approved by:	brooks (mentor)
2007-10-30 11:37:37 +00:00
mtm
e8e8fab208 Nuke rc.d/nfslocking which has been superceeded by rc.d/{lockd,statd} 2007-10-25 18:10:05 +00:00
ru
2140a4d2eb Remove the libmytinfow library that's available only in RELENG_6. 2007-10-22 12:31:23 +00:00
ru
121da528e1 Remove default (compressed) manpages. 2007-10-12 07:58:08 +00:00
bushman
9ea9e12f35 Updating ObsoleteFiles.inc after cached->nscd renaming.
Approved by:	re (bmah), brooks (mentor)
2007-09-29 22:37:40 +00:00
jkoshy
3b34ee2e63 Remove the newly resurrected ar.5 manual page from the list of
obsolete files.

Noticed by:	Michael Plass <mfp49_freebsd at plass-family dot net>
		Herbert J. Skuhra <h dot skuhra at gmail dot com>
Approved by:	re (bmah)
2007-09-14 03:07:22 +00:00
yar
2a6e4ac2ba Found some obsolete files in /rescue.
The ipf related stuff was removed in rescue/Makefile rev. 1.43,
and vinum in rev. 1.30.

Approved by:	re (bmah)
2007-08-31 19:41:27 +00:00
marcel
e7ff85cfda The PowerPC specific header interruptvar.h has been removed.
Approved by: re (blanket)
2007-08-07 23:48:30 +00:00
bz
e911ed379e Remove the last entries to fast_ipsec.
Merge in parts of the old fast_ipsec.4 man page to ipsec.4 and
start updating ipsec.4 man page.

Reviewed by:	brueffer, sam (slightly earlier versions), bmah
Approved by:	re (bmah)
2007-08-02 08:04:48 +00:00
delphij
eeef9fbdac MFp4: Remove files that are removed during gcc 4.2 upgrade, as
well as IPX over IP tunnel.

Approved by:	re (bmah)
2007-07-17 17:28:59 +00:00
rwatson
a4cd4d6af3 Add ObsoleteFiles.inc entries for netatm, which has been disconnected from
the build.

Suggested by:	bz, Dmitry Morozovsky <marck@rinet.ru>,
		Niclas Zeising <niclas.zeising@gmail.com>
Tested by:	Dmitry Morozovsky <marck@rinet.ru>
Approved by:	re (kensmith)
2007-07-15 22:47:33 +00:00
dougb
f4045f00c6 Belatedly add the PROTO.localhost* files that were removed on 2007-06-18
Approved by:	re (rwatson)
2007-07-12 00:02:12 +00:00
bz
7f4b699953 I4B header files are now installed in include/i4b/ and no longer live
in include/machine/.

Approved by:	re (kensmith)
2007-07-06 07:24:49 +00:00
bz
2e6ed0bb02 Do not install man pages for the three I4B 'modules' that were
disabled for the FreeBSD 7.0 timeframe.

Approved by:	re (rwatson)
2007-07-04 16:21:27 +00:00
mlaier
3b7987b2e8 Add a note about the pf update, mark libexec/ftp-proxy as obsolete and bump
__FreeBSD_version for ports.

Approved by:	re (implicit)
2007-07-03 13:06:45 +00:00
thompsa
677f11777e The wicontrol(8) manpage is obsolete too.
Pointed out by:	Pawel Worach
Approved by:	re (rwatson)
2007-07-01 20:05:19 +00:00
bz
752c7e8c54 As part of KAME IPsec removal:
change the date to today instead of leaving the date when the patch was done.
Move the block to the top.

Approved by:	re (kensmith)
2007-07-01 12:31:27 +00:00
gnn
0cd74db89b Commit IPv6 support for FAST_IPSEC to the tree.
This commit includes only the kernel files, the rest of the files
will follow in a second commit.

Reviewed by:    bz
Approved by:    re
Supported by:   Secure Computing
2007-07-01 11:41:27 +00:00
thompsa
384e40af76 Remove wicontrol(8) from the base system. Using wicontrol to configure an
interface has been deprecated since 5.1, wi(4) wireless interfaces are managed
via the net80211 stack and ifconfig.

Approved by:	re (rwatson)
2007-07-01 10:25:07 +00:00
rafan
ff392b04b7 - Remove UMAP filesystem. It was disconnected from build three years ago,
and it is seriously broken.

Discussed on:   freebsd-arch@
Approved by:	re (mux)
2007-06-25 05:06:57 +00:00
rafan
a6ca42cfee - Add liblwres.so.10 which is now .30 after latest bind import
- Add obsolete libraries which got a version bump
2007-06-18 18:50:59 +00:00
rafan
83ede949be /usr/lib/libvgl.so.4 was bumped last month (20070521).
Approved by:	delphij (mentor)
2007-06-18 09:00:01 +00:00
delphij
a640564bf1 sched_core(4) removed. 2007-06-05 01:10:47 +00:00
truckman
05dd7cf626 Nuke man page links that were orphaned by vendor branch import of
TrustedBSD OpenBSM 1.0 alpha 6.

MFC after:	3 days
2007-06-03 23:36:23 +00:00
truckman
adb4c6dae5 The archive_write_prepare.3 man page was removed in November 2006.
The wpa man pages were moved to section 8 in June 2005.

The clean_environment() function was removed from libutil in February
2004, so its man page is well overdue for removal.

MFC after:	3 days
2007-06-02 23:13:50 +00:00
truckman
da16ddf6b0 When /usr/sbin/xten went away back in 2003, /usr/libexec/xtend was
overlooked.

MFC after:	3 days
2007-06-02 22:39:10 +00:00
truckman
0536e2bccc ObsoleteFiles.inc 1.88 should have used s/=/+=/ on entry for
usr/share/man/man9/VFS_VPTOFH.9.gz.
2007-06-02 22:34:11 +00:00
ru
c5c0761a84 Clean up more obsolete shared threading libraries:
- /lib/libpthread.so.2 was made obsolete by renaming libpthread to
  libkse (!sparc64, 2007/05/13).
- /usr/lib/libthr.so.2 was made obsolete by moving the library to
  /lib (!sparc64, 2007/05/13).
- /lib/libkse.so.2 existed for a few days before the version bump
  for those who had libpthread as their default threading library.

Coding this "right" in ObsoleteFiles.inc is nearly impossible, so
just add the missing obsolete libraries to the version bump block.

Submitted by:	deischen, ru
2007-06-02 10:26:36 +00:00
ru
8991888600 More obsolete stuff from doing a 6.2 -> 7.0 upgrade. 2007-06-01 21:00:27 +00:00
ru
668e5a03b9 - Added more obsolete stuff.
- Undelete archive_entry_set_dev{major,minor}.3.
2007-06-01 20:28:23 +00:00
ru
6fa1f03f7f Remove the libmytinfo_p.a link as well. 2007-05-21 08:53:26 +00:00
delphij
9c6d3b6f52 Don't remove boot_i386.8 on amd64. 2007-05-21 07:14:01 +00:00
delphij
4d63b36cc4 Reflect shared library bump after symbol versioning is enabled by
default.
2007-05-21 07:00:29 +00:00
delphij
c7b3a722a9 libthr is promoted to libpthread so don't remove
libkse.a and libkse.so.
2007-05-15 06:24:17 +00:00
roberto
c8214b677d zfs & zpool have been moved from /usr/sbin into /sbin. The corresponding
libraries in /usr/lib has been replaced by symlinks into /lib already.

Requested by:       pjd
2007-05-10 13:25:27 +00:00
emax
ffd5021ec7 Retire /usr/share/examples/netgraph/bluetooth/rc.bluetooth.
MFC after:	1 week
2007-04-24 16:58:54 +00:00
brueffer
2df123e4e2 Spring cleaning: Remove worm(4) manpage, the driver was removed pre-3.0. 2007-04-20 23:47:30 +00:00
thompsa
adc1c67ec6 Remove net/if_trunk.h which is no longer used. 2007-04-17 01:02:55 +00:00
pjd
a7cca495b2 Move uuidgen(1) from /usr/bin/ to /bin/. It will be used in rc.d/hostid
script, which will be executed before /usr/ mount.

Reviewed by:	mlaier, rink, brooks, rwatson
2007-04-09 19:16:48 +00:00
delphij
ab7e1e200e Update for bzip2 1.0.4 import: bzip2.info.gz gone. 2007-03-28 07:49:57 +00:00
delphij
4aa02da9fa libarchive.so.3 was turned to libarchive.so.4 by
the src/lib/libarchive/Makefile,v 1.59 change, so
reflect this.
2007-03-19 11:15:53 +00:00
bms
82f209d7c7 Mark addr2ascii() man page as obsolete.
Submitted by:	Maxim Konovalov
2007-03-01 10:53:55 +00:00
ru
99b9ebd3eb Mark the vm_page_unmanage(9) manpage as obsolete.
Reminded by:	maxim
2007-02-25 17:34:16 +00:00
brueffer
d248b7fe82 Typo fix in a comment 2007-02-12 21:41:17 +00:00
brueffer
8687c8db75 The KAME project has been dissolved and kame.4 isn't terribly useful.
=> Sayonara

Approved by:	gnn, suz
2007-02-12 21:12:37 +00:00
rafan
fb2efa60c3 Remove old libmytinfo link.
Approved by:	delphij (mentor)
Requested by:	ache
2007-02-01 08:45:27 +00:00
phk
defff746b4 Add vnconfig to this list
Reminded by:	netchild
2007-01-28 14:52:07 +00:00
peter
dcb92392a2 List obsolete objformat files and man pages. This may have to be
revisited if too much stuff breaks.
2007-01-25 23:13:55 +00:00
kientzle
fae0d5498b Remove old man page.
Thanks to:	Pawel Worach
2007-01-02 03:42:16 +00:00
avatar
824b30aad1 Completing the process of UUCP migration to ports.
MFC after:	1 month
2006-12-07 01:24:38 +00:00
piso
029c1b6cc6 Delete old (and now unused) alias_*.so.4 files.
Approved by: gleb
2006-12-01 16:23:25 +00:00
netchild
919da042e1 Add some old includes to remove.
Reported by:	kris
2006-11-26 15:04:30 +00:00
netchild
b1f1ae673f Add libusb.h and libusbhid.h. 2006-11-26 14:43:45 +00:00
imp
b86e0fe725 devsw.9 removed 2006-11-26 06:52:54 +00:00
rodrigc
cd5f36953b Remove mount_devfs, mount_ext2fs, mount_fdescfs, mount_linprocfs,
mount_procfs, mount_std, which are now obsolete.

Requested by:	netchild, ache
2006-11-23 01:44:15 +00:00
brueffer
1aeb88c1a5 Note uhidev.4 removal.
Approved by:	rwatson (mentor)
MFC after:	1 week
2006-11-16 22:34:17 +00:00
matteo
df9fb09095 Add a BIND-4 related obsolete files
Submitted by: Riccardo Torrini vic@gufi.org
MFC after:	1 week
2006-11-15 19:05:51 +00:00
marcel
4d275bbe24 /boot/skiload.help has been eliminated on ia64. 2006-11-08 03:23:49 +00:00