Lines Matching +full:hexagon +full:- +full:linux +full:- +full:user
2 # SPDX-License-Identifier: GPL-2.0
4 if [ $# -ne 2 ]
8 echo "Prepares kernel header files for use by user space, by removing"
24 trap 'rm -f $OUTFILE $TMPFILE' EXIT
26 # SPDX-License-Identifier with GPL variants must have "WITH Linux-syscall-note"
27 if [ -n "$(sed -n -e "/SPDX-License-Identifier:.*GPL-/{/WITH Linux-syscall-note/!p}" $INFILE)" ]; t…
28 echo "error: $INFILE: missing \"WITH Linux-syscall-note\" for SPDX-License-Identifier" >&2
32 sed -E -e '
35 s@^#include <linux/compiler(|_types).h>@@
36 s/(^|[^a-zA-Z0-9])__packed([^a-zA-Z0-9_]|$)/\1__attribute__((packed))\2/g
41 scripts/unifdef -U__KERNEL__ -D__EXPORTED_HEADERS__ $TMPFILE > $OUTFILE
42 [ $? -gt 1 ] && exit 1
45 configs=$(sed -e '
71 # The format is <file-name>:<CONFIG-option> in each line.
77 arch/hexagon/include/uapi/asm/ptrace.h:CONFIG_HEXAGON_ARCH_VERSION
78 arch/hexagon/include/uapi/asm/user.h:CONFIG_HEXAGON_ARCH_VERSION
92 if echo "$INFILE:$c" | grep -q "$ignore$"; then
99 echo "error: $INFILE: leak $c to user-space" >&2
104 rm -f $TMPFILE
105 trap - EXIT