
evmctl provides signing support for IMA/EVM. Functionality includes signing of file content (IMA), file metadata (EVM), importing public keys into kernel keyring. Signed-off-by: Dmitry Kasatkin <dmitry.kasatkin@intel.com>
9 lines
152 B
Bash
Executable File
9 lines
152 B
Bash
Executable File
#!/bin/sh
|
|
|
|
dir=${1:-/}
|
|
|
|
echo "Fixing dir: $dir"
|
|
|
|
find $dir \( -fstype rootfs -o -fstype ext3 -o -fstype ext4 \) -type f -uid 0 -exec openclose '{}' \;
|
|
|