summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/arm-cs-trace-disasm.py
diff options
context:
space:
mode:
authorChenXiaoSong <chenxiaosong2@huawei.com>2022-09-23 08:40:14 +0300
committerTrond Myklebust <trond.myklebust@hammerspace.com>2022-12-06 18:38:38 +0300
commit6f1c1d95dc93b52a8ef9cc1f3f610c2d5e6b217b (patch)
treea918ea42e1ea270911b859a002b21a93e7e83f11 /tools/perf/scripts/python/arm-cs-trace-disasm.py
parentd01c6ed6db38a4db2921591e4f5425bee1931aca (diff)
downloadlinux-6f1c1d95dc93b52a8ef9cc1f3f610c2d5e6b217b.tar.xz
NFS: make sure open context mode have FMODE_EXEC when file open for exec
Because file f_mode never have FMODE_EXEC, open context mode won't get FMODE_EXEC from file f_mode. Open context mode only care about FMODE_READ/ FMODE_WRITE/FMODE_EXEC, and all info about open context mode can be convert from file f_flags, so convert file f_flags to open context mode by flags_to_mode(). Signed-off-by: ChenXiaoSong <chenxiaosong2@huawei.com> Signed-off-by: Trond Myklebust <trond.myklebust@hammerspace.com>
Diffstat (limited to 'tools/perf/scripts/python/arm-cs-trace-disasm.py')
0 files changed, 0 insertions, 0 deletions