Commit Graph

163 Commits

Author SHA1 Message Date
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
Ed Schouten
bc093719ca 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 Schouten
4ab0b22f96 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 Moolenaar
42f17e8ce4 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 Brodin
e7e0618629 Add an obsolete header after pecoff removal.
Approved by:	rwatson (mentor)
2008-07-13 17:17:35 +00:00
Marcel Moolenaar
c4c9b9f50c Obsolete bsdlabel(8) on powerpc. Use gpart(8) instead. 2008-07-06 20:57:35 +00:00
John Baldwin
a78c3ed89c 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
John Baldwin
e9a31041c0 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
John Baldwin
2c6298572e 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
John Baldwin
94f923b69d 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 Moolenaar
9eda082d52 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 Moolenaar
a0aaa49314 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
Daniel Gerzo
c1871fe5ec 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 Schouten
45792eb9b8 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 Moolenaar
475232fc30 Removal of gpt(8) and manpage. 2008-06-09 21:36:46 +00:00
Bjoern A. Zeeb
906013e622 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 Brodin
3c669ce6e6 Add more obsolete files.
Approved by:	rwatson (mentor)
2008-05-27 18:22:54 +00:00
Bjoern A. Zeeb
2e598474fa 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 Brodin
35e1cea83a Add more obsolete files.
Approved by:	rwatson (mentor)
2008-05-10 18:43:22 +00:00
Antoine Brodin
456e16cda7 Add recent obsolete files.
Approved by:	rwatson (mentor)
2008-04-20 16:03:19 +00:00
Florent Thoumie
69787c4ac4 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
Ruslan Ermilov
dbdb679c6f 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 Lodder
8e7f63ecf8 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
Christian Brueffer
3e353b5fb7 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 Brodin
40f9a23605 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
Andrew Thompson
00620931e1 geom_lvm(4) is now known as geom_linux_lvm(4). 2008-02-20 11:32:12 +00:00
Xin LI
71637b9b92 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 Moolenaar
3861dd1e8c 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
Xin LI
80dcf34eaf Reflect rr232x(4) manpage removal 2008-02-06 18:43:47 +00:00
Christian Brueffer
7133bff46c OLDCARD is long gone, so finally remove the oldcard.4 manpage.
Confirmed by:	imp
2008-01-26 20:23:25 +00:00
Attilio Rao
ac8e1cb6fc Reflect BUF_REFCNT(9) removal.
Pointed out by: brueffer
2008-01-22 20:08:09 +00:00
John Baldwin
f108438a3c 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
Doug Barton
db7de88380 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 Davis
3c42c4abed 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
John Birrell
bb23d448d7 Remove an OpenSolaris compatibility header that is no longer referenced. 2007-11-28 23:21:55 +00:00
Henrik Brix Andersen
44c7dfecd3 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
Ruslan Ermilov
a59df282a4 Correct a path for obsolete liblwres.so.10.
Reported by:	Alexey Shuvaev on -current
2007-11-21 10:49:33 +00:00
Xin LI
eaf4d76326 Mark old shared library versions as obsolete. 2007-11-20 22:12:52 +00:00
Marcel Moolenaar
fcfe60dc18 Catch up to changes in rescue on ia64. 2007-11-16 04:03:08 +00:00
Warner Losh
d6956b0914 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
Michael Bushkov
20337b3f9a Adding recently removed etc/cached.conf to the list of obsolete files.
Approved by:	brooks (mentor)
2007-10-30 11:37:37 +00:00
Mike Makonnen
99e95e553c Nuke rc.d/nfslocking which has been superceeded by rc.d/{lockd,statd} 2007-10-25 18:10:05 +00:00