Follow @Openwall on Twitter for new release announcements and other news
[<prev] [next>] [day] [month] [year] [list]
Message-ID: <20120424120521.290ae445@newbook>
Date: Tue, 24 Apr 2012 12:05:21 -0700
From: Isaac Dunham <idunham@...abit.com>
To: musl@...ts.openwall.com
Subject: Compatability: sysvinit vs headers, definitions

I'm attempting to compile sysvinit and found some problems.
sysvinit properly defines _GNU_SOURCE.
Aliases (These are missing in musl, glibc has as aliases):
sys/errno.h for errno.h
sys/fcntl.h for fcntl.h
Those I can fix easily.

Missing (glibc includes a version from FreeBSD 8.x (?)):
sys/ttydefaults.h 
#included in sys/ioctl.h, termios.h, sys/ttychars.h
This contains only macros; using the BSD/glibc version works properly.

Macros/defs/functions missing: 
UTMP_FILE for _UTMP_PATH
extern char **environ;
strdupa()
‘struct utmpx’ is missing ‘ut_addr’
WTMP_FILE for _WTMP_PATH

Isaac Dunham


Powered by blists - more mailing lists

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