Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
at v4.14-rc6 10 lines 229 B view raw
1#!/bin/sh 2# Runs copy_to/from_user infrastructure using test_user_copy kernel module 3 4if /sbin/modprobe -q test_user_copy; then 5 /sbin/modprobe -q -r test_user_copy 6 echo "user_copy: ok" 7else 8 echo "user_copy: [FAIL]" 9 exit 1 10fi