Openwall GNU/*/Linux - a small security-enhanced Linux distro for servers
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date: Thu, 5 Apr 2012 18:45:34 -0700
From: Isaac Dunham <>
Subject: [PATCH] _BSD_SOURCE for unistd.h, take 2

This is what was left from the comments.

This adds L_SET & co., and defines 5 functions that had been under
_GNU_SOURCE only, when _BSD_SOURCE is defined.
If I wanted to make things a little easier on those porting, I might
add something like this when _BSD_SOURCE is defined:
#warn "BSD setpgrp should be changed to setpgid"
That's not essential, though.

View attachment "unistd.diff" of type "text/x-patch" (1030 bytes)

Powered by blists - more mailing lists

Your e-mail address:

Confused about mailing lists and their use? Read about mailing lists on Wikipedia and check out these guidelines on proper formatting of your messages.