On Wednesday, January 23, 2013 02:55:38 PM Kees Cook wrote:
> The "asm/unistd.h" file may not be in the top-level /usr/include tree
> on multi-arch capable distributions (Debian, Ubuntu). Instead of
> hard-coding the path, use gcc's internal path resolution to find the
> include file.
> 
> Signed-off-by: Kees Cook <[email protected]>

You might want to check out the current repository, the bash script has been 
moved aside and a C version that uses the libseccomp internal syscall table 
has replaced it.  This allows us to handle different architectures a bit 
easier as the script/gcc based approach only worked for the native 
architecture.

Actually, your patch reminds me that we should probably just remove the bash 
script version of this tool from the repository completely.

-- 
paul moore
security and virtualization @ redhat


------------------------------------------------------------------------------
Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS,
MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current
with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft
MVPs and experts. ON SALE this month only -- learn more at:
http://p.sf.net/sfu/learnnow-d2d
_______________________________________________
libseccomp-discuss mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/libseccomp-discuss

Reply via email to