diff options
| author | Christoph Hellwig <hch@lst.de> | 2020-01-07 15:25:37 -0800 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2020-03-05 16:43:51 +0100 |
| commit | 0d70361dec88c814665edffa34928735719364d3 (patch) | |
| tree | 1aa3053c30d9faa52fcc71ea37c1d2a2b854e19a /kernel/locking | |
| parent | 7906e29efaf1fa1d2b482ba8dd955895947289fe (diff) | |
xfs: clear kernel only flags in XFS_IOC_ATTRMULTI_BY_HANDLE
commit 953aa9d136f53e226448dbd801a905c28f8071bf upstream.
Don't allow passing arbitrary flags as they change behavior including
memory allocation that the call stack is not prepared for.
Fixes: ddbca70cc45c ("xfs: allocate xattr buffer on demand")
Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Darrick J. Wong <darrick.wong@oracle.com>
Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'kernel/locking')
0 files changed, 0 insertions, 0 deletions
