freebsd-skq/sys/compat/linux
ed a964306db9 Last step of splitting up minor and unit numbers: remove minor().
Inside the kernel, the minor() function was responsible for obtaining
the device minor number of a character device. Because we made device
numbers dynamically allocated and independent of the unit number passed
to make_dev() a long time ago, it was actually a misnomer. If you really
want to obtain the device number, you should use dev2udev().

We already converted all the drivers to use dev2unit() to obtain the
device unit number, which is still used by a lot of drivers. I've
noticed not a single driver passes NULL to dev2unit(). Even if they
would, its behaviour would make little sense. This is why I've removed
the NULL check.

Ths commit removes minor(), minor2unit() and unit2minor() from the
kernel. Because there was a naming collision with uminor(), we can
rename umajor() and uminor() back to major() and minor(). This means
that the makedev(3) manual page also applies to kernel space code now.

I suspect umajor() and uminor() isn't used that often in external code,
but to make it easier for other parties to port their code, I've
increased __FreeBSD_version to 800062.
2009-01-28 17:57:16 +00:00
..
linux_emul.c The code in linux_proc_exit() contains a race when multiple linux based 2008-10-31 10:38:30 +00:00
linux_emul.h Implement robust futexes. Most of the code is modelled after 2008-05-13 20:01:27 +00:00
linux_file.c Getdents requires padding with 2 bytes instead of 1 byte 2008-09-09 16:00:17 +00:00
linux_file.h Implement the linux syscalls 2008-04-08 09:45:49 +00:00
linux_futex.c In the robust futexes list head, futex_offset shall be signed, 2008-11-16 15:45:41 +00:00
linux_futex.h Make robust futexes work on linux32/amd64. Use PTRIN to read 2008-10-14 07:59:23 +00:00
linux_getcwd.c Introduce accmode_t. This is required for NFSv4 ACLs - it will be neccessary 2008-10-28 13:44:11 +00:00
linux_ioctl.c Rather than using hidden includes (with cicular dependencies), 2008-12-02 21:37:28 +00:00
linux_ioctl.h Add TIOCPKT and TIOCSPTLCK to the Linuxolator. 2008-07-23 17:47:44 +00:00
linux_ipc.c Document that all the other commands are either 2008-11-26 16:38:43 +00:00
linux_ipc.h MFP4 (110956): 2006-12-21 13:11:06 +00:00
linux_mib.c Switch to emulating Linux 2.6 on default. 2008-06-03 17:50:13 +00:00
linux_mib.h MFp4 (111746+): 2006-12-31 12:39:10 +00:00
linux_misc.c Push down Giant inside sysctl. Also add some more assertions to the code. 2008-12-29 12:58:45 +00:00
linux_misc.h Sanitize arguments to linux_mremap(). 2008-02-22 11:47:56 +00:00
linux_signal.c Correctly fill siginfo for the signals delivered by linux tkill/tgkill. 2008-10-19 10:02:26 +00:00
linux_signal.h Correctly fill siginfo for the signals delivered by linux tkill/tgkill. 2008-10-19 10:02:26 +00:00
linux_socket.c Rather than using hidden includes (with cicular dependencies), 2008-12-02 21:37:28 +00:00
linux_socket.h Make linux_sendmsg() and linux_recvmsg() work on linux32/amd64. 2008-11-29 17:14:06 +00:00
linux_stats.c Last step of splitting up minor and unit numbers: remove minor(). 2009-01-28 17:57:16 +00:00
linux_sysctl.c Unbreak COMPAT_LINUX32 option support on amd64. 2006-03-19 11:10:33 +00:00
linux_sysproto.h Handle unimplemented syscall by instantly returning ENOSYS instead of sending 2005-03-07 00:18:06 +00:00
linux_time.c MFP4: 109655 2006-12-20 20:17:35 +00:00
linux_uid16.c Add the support for the AT_FDCWD and fd-relative name lookups to the 2008-03-31 12:01:21 +00:00
linux_util.c Retire the MALLOC and FREE macros. They are an abomination unto style(9). 2008-10-23 15:53:51 +00:00
linux_util.h Implement the linux syscalls 2008-04-08 09:45:49 +00:00