[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Porter help needed to build latest upstream PAM



Hi,

Cyril Brulebois, le Mon 06 Aug 2007 11:51:27 +0200, a écrit :
> +++ pam-0.99.7.1/Linux-PAM/modules/pam_limits/pam_limits.c	2007-08-06 09:02:19.000000000 +0000
> @@ -14,7 +14,7 @@
>   */
>  
>  #if !defined(linux) && !defined(__linux)
> -#error THIS CODE IS KNOWN TO WORK ONLY ON LINUX !!!
> +#warning THIS CODE IS KNOWN TO WORK ONLY ON LINUX !!!
>  #endif

It most probably doesn't work on the Hurd indeed, but that doesn't
justify a #error indeed.  The compilation of this module could be
disabled, but then conffiles need to be changed, etc.  turning it into
a warning is a lot simpler.

> -#include <sys/fsuid.h>

That's linux-specific indeed.

> -debian/install/etc/security/namespace.conf		etc/security
> -debian/install/etc/security/namespace.init		etc/security
> -debian/install/usr/share/man/man5/namespace.conf.5	usr/share/man/man5
> -debian/install/usr/share/man/man8/pam_namespace.8	usr/share/man/man8

Linux-specific too, can't work in GNU/Hurd either indeed.

> -debian/install/usr/share/man/man8/pam_keyinit.8		usr/share/man/man8

setkey() is in SUSv3, but it's not supported by GNU/Hurd either.

> -debian/install/usr/share/man/man8/pam_selinux.8		usr/share/man/man8

Clearly linux-specific :)

Samuel



Reply to: