Openwall GNU/*/Linux - a small security-enhanced Linux distro for servers
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Date: Thu, 26 Mar 2020 15:11:12 +0200
From: Baruch Siach <baruch@...s.co.il>
To: musl@...ts.openwall.com
Subject: Switch to 64-bit time_t breaks strace build

Hi musl list,

Commit 381433396 (switch all existing 32-bit archs to 64-bit time_t)
changed the IPC_STAT value on 32-bit arches from 2 to 0x102. This break
strace build time assertion of IPC_STAT value:

In file included from ./static_assert.h:11,
                 from xlat/msgctl_flags.h:4,
                 from ipc_msgctl.c:32:
xlat/msgctl_flags.h:22:1: error: static assertion failed: "IPC_STAT != 2"
 static_assert((IPC_STAT) == (2), "IPC_STAT != 2");

I that a strace bug?

baruch

-- 
     http://baruch.siach.name/blog/                  ~. .~   Tk Open Systems
=}------------------------------------------------ooO--U--Ooo------------{=
   - baruch@...s.co.il - tel: +972.52.368.4656, http://www.tkos.co.il -

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.