Skip to contentSkip to conversation

mount_setattr.2: Fix nonexistent perf_setattr

PATCH Superseded Daniel Tang 2 participants 4 messages Nov 16 – Nov 17

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 mount_setattr.2: Fix nonexistent perf_setattr

The problematic reference had been copied from openat2.2, where it was fixed in bbed82c0693a ("openat2.2: tfix: fix minor reference typo"). I performed the same fix for mount_setattr.2.

---
 man2/mount_setattr.2 | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
man2/mount_setattr.2 +1 -1
index 77233f589..5f26119cc 100644
@@ -786,7 +786,7 @@ acting as an implicit version number.
 (Because new extension fields will always
 be appended, the structure size will always increase.)
 This extensibility design is very similar to other system calls such as
-.BR perf_setattr (2),
+.BR sched_setattr (2),
 .BR perf_event_open (2),
 .BR clone3 (2)
 and
Signature · 1 line
2.53.0
#1 lore raw

Hi Daniel,

Quoted 7 lines

Date: 2026-11-15 22:33:16-0500
From: Daniel Tang <[email protected]>

The problematic reference had been copied from openat2.2, where it was fixed in bbed82c0693a ("openat2.2: tfix: fix minor reference typo"). I performed the same fix for mount_setattr.2.

Quoted 8 lines
---
 man2/mount_setattr.2 | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

You seem to have a very old copy of the git repository. See dcde2f70372b (2024-05-02; "man/, share/mk/: Move man*/ to man/"). Would you mind rebasing the patch?

Have a lovely night!
Alex

Quoted 20 lines
man2/mount_setattr.2 +1 -1
index 77233f589..5f26119cc 100644
@@ -786,7 +786,7 @@ acting as an implicit version number.
 (Because new extension fields will always
 be appended, the structure size will always increase.)
 This extensibility design is very similar to other system calls such as
-.BR perf_setattr (2),
+.BR sched_setattr (2),
 .BR perf_event_open (2),
 .BR clone3 (2)
 and
Signature · 1 line
2.53.0
Signature · 1 line
<https://www.alejandro-colomar.es>
#2 lore raw

PATCH v2 1/1 mount_setattr.2: Fix nonexistent perf_setattr

The problematic reference had been copied from openat2.2, where it was fixed in bbed82c0693a ("openat2.2: tfix: fix minor reference typo"). I performed the same fix for mount_setattr.2.

---
 man/man2/mount_setattr.2 | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
man/man2/mount_setattr.2 +1 -1
index 0f4b619d8..bb8da7ca4 100644
@@ -846,7 +846,7 @@ acting as an implicit version number.
 (Because new extension fields will always
 be appended, the structure size will always increase.)
 This extensibility design is very similar to other system calls such as
-.BR perf_setattr (2),
+.BR sched_setattr (2),
 .BR perf_event_open (2),
 .BR clone3 (2)
 and
Signature · 1 line
2.53.0
#3 lore raw

Hi Daniel

Quoted 7 lines

Date: 2026-11-16 19:17:48-0500
From: Daniel Tang <[email protected]>

The problematic reference had been copied from openat2.2, where it was fixed in bbed82c0693a ("openat2.2: tfix: fix minor reference typo"). I performed the same fix for mount_setattr.2.

Quoted 6 lines

---

Thanks! I've applied the patch.

Have a lovely night!
Alex

Quoted 22 lines
 man/man2/mount_setattr.2 | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
man/man2/mount_setattr.2 +1 -1
index 0f4b619d8..bb8da7ca4 100644
@@ -846,7 +846,7 @@ acting as an implicit version number.
 (Because new extension fields will always
 be appended, the structure size will always increase.)
 This extensibility design is very similar to other system calls such as
-.BR perf_setattr (2),
+.BR sched_setattr (2),
 .BR perf_event_open (2),
 .BR clone3 (2)
 and
Signature · 1 line
2.53.0
Signature · 1 line
<https://www.alejandro-colomar.es>