Woah you're brave...

Adding a top-level common.h is wrong.
See the proc/*.h files, including proc/procps.h.

In general I'm moving away from PAGE_SIZE, but I
sure do wish to keep it in minimal.c. Note that
this file is not compiled in by default, and that
it already supports FreeBSD.

You should not remove stuff from the example
sysctl.conf. It's commented out anyway.

SIGPOLL is in the UNIX standard. SIGIO is not there.
This suggests that FreeBSD is less of a UNIX than
Linux is. :-) Please fix your kernel and/or libc.

Redefining LINUX_VERSION is a huge mistake. You may
wish to change how linux_version_code is set though,
perhaps based on __FreeBSD_kernel_version and some
knowledge of how FreeBSD kernels match up with Linux
kernels. Probably you want something like:

linux_version_code = LINUX_VERSION(2,0,0);

TAB3 is also part of the UNIX standard, in termios.h.
It's not even part of the XSI feature set, but just
a regular feature required of all POSIX systems.
I can not find XTABS in the UNIX and POSIX standard.

SIGPWR is not Linux-specific. AIX, HP-UX, IRIX, and
Solaris all have it. Hopefully it will get into the next
revision of POSIX. Here is the Solaris 9 description:

     Name             Value   Default    Event
     SIGPWR           19      Ignore     Power Fail or Restart

The IRIX description is identical.




-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to