Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8364322

(fs) fchmodat support for AT_SYMLINK_NOFOLLOW flag too pessimistic on Linux

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Won't Fix
    • Icon: P4 P4
    • tbd
    • None
    • core-libs
    • x86_64
    • linux

      A DESCRIPTION OF THE PROBLEM :
      UnixNativeDispatcher.fchmodatNoFollowSupported, added by JDK-8357425, unconditionally returns false on Linux. Historically, that has been accurate. However, glibc 2.32 (2020) added emulation support, and the kernel gained native support in Linux 6.5 (2023). So, a Linux system should be probed for fchmodat AT_SYMLINK_NOFOLLOW support.


            bpb Brian Burkhalter
            webbuggrp Webbug Group
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: