![]() |
|
|||
0001 #!/bin/sh 0002 # SPDX-License-Identifier: GPL-2.0 0003 # Runs copy_to/from_user infrastructure using test_user_copy kernel module 0004 0005 # Kselftest framework requirement - SKIP code is 4. 0006 ksft_skip=4 0007 0008 if ! /sbin/modprobe -q -n test_user_copy; then 0009 echo "user: module test_user_copy is not found [SKIP]" 0010 exit $ksft_skip 0011 fi 0012 if /sbin/modprobe -q test_user_copy; then 0013 /sbin/modprobe -q -r test_user_copy 0014 echo "user_copy: ok" 0015 else 0016 echo "user_copy: [FAIL]" 0017 exit 1 0018 fi
[ Source navigation ] | [ Diff markup ] | [ Identifier search ] | [ general search ] |
This page was automatically generated by the 2.1.0 LXR engine. The LXR team |
![]() ![]() |