aboutsummaryrefslogtreecommitdiffstats
path: root/net/switchdev/switchdev.c
diff options
context:
space:
mode:
authorTetsuo Handa <[email protected]>2025-01-06 12:25:00 +0000
committerTetsuo Handa <[email protected]>2025-01-06 12:25:00 +0000
commit08ae2487b202ff92b1c6393f18630895f39460bf (patch)
treed71d7015a4885c110738a8809afcfc0e0de74544 /net/switchdev/switchdev.c
parenttomoyo: use realpath if symlink's pathname refers to procfs (diff)
downloadkernel-08ae2487b202ff92b1c6393f18630895f39460bf.tar.gz
kernel-08ae2487b202ff92b1c6393f18630895f39460bf.zip
tomoyo: automatically use patterns for several situations in learning mode
The "file_pattern" keyword was used for automatically recording patternized pathnames when using the learning mode. This keyword was removed in TOMOYO 2.4 because it is impossible to predefine all possible pathname patterns. However, since the numeric part of proc:/$PID/ , pipe:[$INO] and socket:[$INO] has no meaning except $PID == 1, automatically replacing the numeric part with \$ pattern helps reducing frequency of restarting the learning mode due to hitting the quota. Since replacing one digit with \$ pattern requires enlarging string buffer, and several programs access only $PID == 1, replace only two or more digits with \$ pattern. Signed-off-by: Tetsuo Handa <[email protected]>
Diffstat (limited to 'net/switchdev/switchdev.c')
0 files changed, 0 insertions, 0 deletions