Bug 1810141 - glibc: Fix fchmodat implementing, using real syscall & /proc fallback
Summary: glibc: Fix fchmodat implementing, using real syscall & /proc fallback
Keywords:
Status: CLOSED DEFERRED
Alias: None
Product: Red Hat Enterprise Linux 8
Classification: Red Hat
Component: glibc
Version: 8.3
Hardware: All
OS: Linux
unspecified
medium
Target Milestone: pre-dev-freeze
: 8.3
Assignee: glibc team
QA Contact: qe-baseos-tools-bugs
URL:
Whiteboard:
Depends On: 1802018 1856394
Blocks:
TreeView+ depends on / blocked
 
Reported: 2020-03-04 15:36 UTC by Florian Weimer
Modified: 2023-07-18 14:30 UTC (History)
7 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of: 1802018
Environment:
Last Closed: 2020-07-13 13:50:19 UTC
Type: Enhancement
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Sourceware 14578 0 P2 RESOLVED /proc-based emulation for lchmod, fchmodat 2020-11-06 14:01:57 UTC

Description Florian Weimer 2020-03-04 15:36:10 UTC
+++ This bug was initially created as a clone of Bug #1802018 +++

gnulib has added emulation of lchmod, fchmodat based on /proc, and glibc upstream will do so as well. We need to integrate the glibc changes into Fedora so that GNU applications can be built properly.

Related commits:

173ec37bb2af6e30892a141d74d42db5957ddd36	support: Add the xlstat function
f6233ab412c3bebebacf65745e775e01506dd58d	Linux: Add io/tst-o_path-locks test
6b89c385d8bd0700b25bac2c2d0bebe68d5cc05d	io: Implement lchmod using fchmodat [BZ #14578]
752dd17443e55a4535cb9e6baa4e550ede383540	Linux: Emulate fchmodat with AT_SYMLINK_NOFOLLOW using O_PATH [BZ #14578]
47136d6cc38c425b150dda83989303ac55f6443c	io: Add io/tst-lchmod covering lchmod and fchmodat
fa185f0d4529c6d70f690306f431ca23662b9138	<fd_to_filename.h>: Add type safety and port to Hurd
a492b1e5ef7ab50c6fdd4e4e9879ea5569ab0a6c	Linux: Work around kernel bugs in chmod on /proc/self/fd paths [BZ #14578]

Plus one more to actually use fd_to_filename.h.

Comment 3 Florian Weimer 2020-07-13 13:50:19 UTC
I pinged the old fchmodat4 submission to the kernel, but did not receive any reply. This is effectively blocked until we get the system call in the kernel.


Note You need to log in before you can comment on or make changes to this bug.