glibc/conform/data/sys/shm.h-data
Samuel Thibault 0dd25301f6 hurd: xfail some structure fields ABI incompatibility with standards
* sysdeps/mach/hurd/i386/Makefile [$(subdir) = conform]
	(conformtest-xfail-conds): Add i386-gnu.
	* conform/data/fcntl.h-data (flock.l_type, flock.l_whence): XFAIL for
	i386-gnu.
	* conform/data/sys/ipc.h-data (ipc_perm.uid, ipc_perm.gid,
	ipc_perm.cuid, ipc_perm.cgid): Likewise.
	* conform/data/sys/msg.h-data (msqid_ds.msg_lspid,
	msqid_ds.msg_lrpid): Likewise.
	* conform/data/sys/shm.h-data (shmid_ds.shm_lpid, shmid_ds.shm_cpid):
	Likewise.
	* conform/data/sys/stat.h-data (stat.st_dev): Likewise.
	* conform/data/sys/statvfs.h-data (statvfs.f_fsid): Likewise.
2018-04-19 01:52:51 +02:00

36 lines
925 B
Plaintext

#if !defined ISO && !defined ISO99 && !defined ISO11 && !defined POSIX && !defined POSIX2008
constant SHM_RDONLY
symbol SHMLBA
constant SHM_RND
type shmatt_t
type {struct shmid_ds}
element {struct shmid_ds} {struct ipc_perm} shm_perm
element {struct shmid_ds} size_t shm_segsz
// Bug 23085: shm_lpid/shm_cpid have type unsigned short instead of pid_t
xfail[i386-gnu]-element {struct shmid_ds} pid_t shm_lpid
xfail[i386-gnu]-element {struct shmid_ds} pid_t shm_cpid
element {struct shmid_ds} shmatt_t shm_nattch
element {struct shmid_ds} time_t shm_atime
element {struct shmid_ds} time_t shm_dtime
element {struct shmid_ds} time_t shm_ctime
type pid_t
type time_t
type key_t
type size_t
function {void*} shmat (int, const void*, int)
function int shmctl (int, int, struct shmid_ds*)
function int shmdt (const void*)
function int shmget (key_t, size_t, int)
allow-header sys/ipc.h
allow shm*
allow SHM*
allow *_t
#endif