summaryrefslogtreecommitdiff
path: root/.gitignore
blob: 117ec38fd7af9940499bd3fa72e89228fd022341 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
# Editor crap (emacs, vim, ...)
*.swp
*.orig
\#*\#
.\#*
.*.sw[a-z]
*.un~

# Hidden files, general things
.*
*~

# Compiled object files
*.slo
*.lo
*.o

# Compiled dynamic libraries
*.so

# Compiled static libraries
*.lai
*.la
*.a

# Testing folders
fuzzing/

# Ignore if someone adapts Makefile
Makefile

# Other documentation ignores
*.md
*.ps

# Compressed archives
*.tar.bz2
*.tar.bz
*.tar.xz

# Release related stuff
.MAIL_MSG

# Excluded from ignorance
!.gitignore
?h=nds-private-remove&id=199625098a18a5522b424dea9b122b254c022fc5'>199625098a18a5522b424dea9b122b254c022fc5 (diff)
fscrypto: lock inode while setting encryption policy
i_rwsem needs to be acquired while setting an encryption policy so that concurrent calls to FS_IOC_SET_ENCRYPTION_POLICY are correctly serialized (especially the ->get_context() + ->set_context() pair), and so that new files cannot be created in the directory during or after the ->empty_dir() check. Signed-off-by: Eric Biggers <ebiggers@google.com> Signed-off-by: Theodore Ts'o <tytso@mit.edu> Reviewed-by: Richard Weinberger <richard@nod.at> Cc: stable@vger.kernel.org
Diffstat