[DSE-Dev] Is the return type of getseuserbyname() on s390 different?
Petter Reinholdtsen
pere at hungry.com
Sun Mar 21 17:40:27 UTC 2010
Hi. According to the build log from s390 for the last upload,
<URL: https://buildd.debian.org/fetch.cgi?pkg=sysvinit;ver=2.87dsf-9;arch=s390;stamp=1269157981 >,
this line in the source:
if (getseuserbyname("root", &seuser, &level) == 0)
causes this warning from the compiler on s390:
sulogin.c:350: warning: ordered comparison of pointer with integer zero
The same warning do not show up on i386. According to the manual page
for getseuserbyname(), its return type is 'int'. Is this not the case
on s390?
Happy hacking,
--
Petter Reinholdtsen
More information about the SELinux-devel
mailing list