lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [day] [month] [year] [list]
Date:	Tue, 19 Aug 2008 12:01:25 +0200
From:	Thomas Volpini <tvolpini@....net>
To:	linux-kernel@...r.kernel.org
Subject: [PATCH] scripts/checksyscalls.sh and non-gnu sed

Hello,

the following patch makes the checksyscalls script work even on systems 
where sed is non-gnu.

best regards,
Thomas



diff --git a/scripts/checksyscalls.sh b/scripts/checksyscalls.sh
index 366f8c7..fdfb625 100755
--- a/scripts/checksyscalls.sh
+++ b/scripts/checksyscalls.sh
@@ -113,10 +113,10 @@ EOF
  }

  syscall_list() {
-sed -n -e '/^\#define/ { s/[^_]*__NR_\([^[:space:]]*\).*/\
+sed -n -e '/^\#define/ s/[^_]*__NR_\([^[:space:]]*\).*/\
  \#if !defined \(__NR_\1\) \&\& !defined \(__IGNORE_\1\)\
  \#warning syscall \1 not implemented\
-\#endif/p }' $1
+\#endif/p' $1
  }
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ