Skip to content

Commit 368fd7b

Browse files
committed
fanotify: Link manpage in docparse comments
Signed-off-by: Petr Vorel <pvorel@suse.cz>
1 parent d279c7a commit 368fd7b

25 files changed

+64
-56
lines changed

testcases/kernel/syscalls/fanotify/fanotify01.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
*/
77

88
/*\
9-
* Check that fanotify work for a file.
9+
* Check that :manpage:`fanotify(7)` works for a file.
1010
*/
1111

1212
#define _GNU_SOURCE

testcases/kernel/syscalls/fanotify/fanotify02.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
*/
77

88
/*\
9-
* Check that fanotify work for children of a directory.
9+
* Check that :manpage:`fanotify(7)` works for children of a directory.
1010
*/
1111

1212
#define _GNU_SOURCE

testcases/kernel/syscalls/fanotify/fanotify03.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
*/
77

88
/*\
9-
* Check that fanotify permission events work.
9+
* Check that :manpage:`fanotify(7)` permission events work.
1010
*/
1111

1212
#define _GNU_SOURCE

testcases/kernel/syscalls/fanotify/fanotify04.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
*/
77

88
/*\
9-
* Check various fanotify special flags.
9+
* Check various :manpage:`fanotify(7)` special flags.
1010
*/
1111

1212
#define _GNU_SOURCE

testcases/kernel/syscalls/fanotify/fanotify05.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,10 @@
66
*/
77

88
/*\
9-
* Check that fanotify overflow event is properly generated.
9+
* Check that :manpage:`fanotify(7)` overflow event is properly generated.
1010
*
1111
* [Algorithm]
12+
*
1213
* Generate enough events without reading them and check that overflow
1314
* event is generated.
1415
*/

testcases/kernel/syscalls/fanotify/fanotify06.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,8 @@
66
*/
77

88
/*\
9-
* Check that fanotify properly merges ignore mask of an inode and mountpoint.
9+
* Check that :manpage:`fanotify(7)` properly merges ignore mask of an inode and
10+
* mountpoint.
1011
*/
1112

1213
/*

testcases/kernel/syscalls/fanotify/fanotify07.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,8 @@
66
*/
77

88
/*\
9-
* Check that fanotify permission events are handled properly on instance destruction.
9+
* Check that :manpage:`fanotify(7)` permission events are handled properly on
10+
* instance destruction.
1011
*/
1112

1213
/*

testcases/kernel/syscalls/fanotify/fanotify08.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,8 @@
66
*/
77

88
/*\
9-
* Sanity check fanotify_init flag FAN_CLOEXEC by fcntl.
9+
* Sanity check :manpage:`fanotify_init(2)` flag FAN_CLOEXEC by
10+
* :manpage:`fcntl(2)`.
1011
*/
1112

1213
#define _GNU_SOURCE

testcases/kernel/syscalls/fanotify/fanotify09.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@
66
*/
77

88
/*\
9-
* Check that fanotify handles events on children correctly when both parent and
10-
* subdir or mountpoint marks exist.
9+
* Check that :manpage:`fanotify(7)` handles events on children correctly when
10+
* both parent and subdir or mountpoint marks exist.
1111
*/
1212

1313
/*

testcases/kernel/syscalls/fanotify/fanotify10.c

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,10 @@
88
*/
99

1010
/*\
11-
* Check that fanotify properly merges ignore mask of a mount mark
12-
* with a mask of an inode mark on the same group. Unlike the
13-
* prototype test fanotify06, do not use FAN_MODIFY event for the
14-
* test mask, because it hides the bug.
11+
* Check that :manpage:`fanotify(7)` properly merges ignore mask of a mount mark
12+
* with a mask of an inode mark on the same group. Unlike the prototype test
13+
* fanotify06, do not use FAN_MODIFY event for the test mask, because it hides
14+
* the bug.
1515
*/
1616

1717
/*

0 commit comments

Comments
 (0)