RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
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.