By using this site, you agree to the Privacy Policy and Terms of Use.
Accept
World of SoftwareWorld of SoftwareWorld of Software
  • News
  • Software
  • Mobile
  • Computing
  • Gaming
  • Videos
  • More
    • Gadget
    • Web Stories
    • Trending
    • Press Release
Search
  • Privacy
  • Terms
  • Advertise
  • Contact
Copyright © All Rights Reserved. World of Software.
Reading: user.* xattrs On Sockets Merged For Linux 7.1 As Sought By GNOME & systemd Developers
Share
Sign In
Notification Show More
Font ResizerAa
World of SoftwareWorld of Software
Font ResizerAa
  • Software
  • Mobile
  • Computing
  • Gadget
  • Gaming
  • Videos
Search
  • News
  • Software
  • Mobile
  • Computing
  • Gaming
  • Videos
  • More
    • Gadget
    • Web Stories
    • Trending
    • Press Release
Have an existing account? Sign In
Follow US
  • Privacy
  • Terms
  • Advertise
  • Contact
Copyright © All Rights Reserved. World of Software.
World of Software > Computing > user.* xattrs On Sockets Merged For Linux 7.1 As Sought By GNOME & systemd Developers
Computing

user.* xattrs On Sockets Merged For Linux 7.1 As Sought By GNOME & systemd Developers

News Room
Last updated: 2026/04/13 at 5:07 PM
News Room Published 13 April 2026
Share
user.* xattrs On Sockets Merged For Linux 7.1 As Sought By GNOME & systemd Developers
SHARE

On this first day of the Linux 7.1 merge window, among the early pull requests merged were beginning to land the various VFS pull requests submitted by Christian Brauner. Among that code merged is enabling support for user.* extended attributes on sockets.

This extended attributes on socket support has been sought after by GNOME and systemd developers in particular as part of their push for greater use of Varlink as an inter-process communication (IPC) mechanism. The user.* xattrs on sockets also has benefit for Linux container use-cases.

code snippet for user xattr on socket

Brauner summed up the new functionality well in the pull request:

“Rework simple xattrs and support user.* xattrs on sockets This reworks the simple_xattr infrastructure and adds support for user.* extended attributes on sockets.

…

With this infrastructure in place the series adds support for user.* xattrs on sockets. Path-based AF_UNIX sockets inherit xattr support from the underlying filesystem (e.g. tmpfs) but sockets in sockfs – that is everything created via socket() including abstract namespace AF_UNIX sockets – had no xattr support at all.

The xattr_permission() checks are reworked to allow user.* xattrs on S_IFSOCK inodes. Sockfs sockets get per-inode limits of 128 xattrs and 128KB total value size matching the limits already in use for kernfs.

The practical motivation comes from several directions. systemd and GNOME are expanding their use of Varlink as an IPC mechanism. For D-Bus there are tools like dbus-monitor that can observe IPC traffic across the system but this only works because D-Bus has a central broker. For Varlink there is no broker and there is currently no way to identify which sockets speak Varlink. With user.* xattrs on sockets a service can label its socket with the IPC protocol it speaks (e.g., user.varlink=1) and an eBPF program can then selectively capture traffic on those sockets. Enumerating bound sockets via netlink combined with these xattr labels gives a way to discover all Varlink IPC entrypoints for debugging and introspection.

Similarly, systemd-journald wants to use xattrs on the /dev/log socket for protocol negotiation to indicate whether RFC 5424 structured syslog is supported or whether only the legacy RFC 3164 format should be used.

In containers these labels are particularly useful as high-privilege or more complicated solutions for socket identification aren’t available.

The series comes with comprehensive selftests covering path-based AF_UNIX sockets, sockfs socket operations, per-inode limit enforcement, and xattr operations across multiple address families (AF_INET, AF_INET6, AF_NETLINK, AF_PACKET).”

Linus Torvalds merged this user extended attributes support for sockets without any objections for the Linux 7.1 cycle.

Sign Up For Daily Newsletter

Be keep up! Get the latest breaking news delivered straight to your inbox.
By signing up, you agree to our Terms of Use and acknowledge the data practices in our Privacy Policy. You may unsubscribe at any time.
Share This Article
Facebook Twitter Email Print
Share
What do you think?
Love0
Sad0
Happy0
Sleepy0
Angry0
Dead0
Wink0
Previous Article Google will penalize sites that mess with your browser’s back button Google will penalize sites that mess with your browser’s back button
Next Article Trump takes down Truth Social post of AI image portraying him as Jesus Trump takes down Truth Social post of AI image portraying him as Jesus
Leave a comment

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Stay Connected

248.1k Like
69.1k Follow
134k Pin
54.3k Follow

Latest News

How To Optimize The Post-Click Content Experience |
How To Optimize The Post-Click Content Experience |
Computing
Texas man accused of throwing molotov cocktail at Sam Altman home charged
Texas man accused of throwing molotov cocktail at Sam Altman home charged
News
The MVP of Deals: Save Over 0 on This Speedy 27-Inch LG Gaming Monitor
The MVP of Deals: Save Over $300 on This Speedy 27-Inch LG Gaming Monitor
News
Music fans guessing as record stores are being shipped “mystery vinyl” from a “major artist” with pitched-down vocals
Music fans guessing as record stores are being shipped “mystery vinyl” from a “major artist” with pitched-down vocals
Software

You Might also Like

How To Optimize The Post-Click Content Experience |
Computing

How To Optimize The Post-Click Content Experience |

16 Min Read
15 Tiny Copy Tweaks That Immediately Improve Conversions | WordStream
Computing

15 Tiny Copy Tweaks That Immediately Improve Conversions | WordStream

14 Min Read
From Satellite Signals to Neural Networks | HackerNoon
Computing

From Satellite Signals to Neural Networks | HackerNoon

8 Min Read
Google Adds Rust-Based DNS Parser into Pixel 10 Modem to Enhance Security
Computing

Google Adds Rust-Based DNS Parser into Pixel 10 Modem to Enhance Security

4 Min Read
//

World of Software is your one-stop website for the latest tech news and updates, follow us now to get the news that matters to you.

Quick Link

  • Privacy Policy
  • Terms of use
  • Advertise
  • Contact

Topics

  • Computing
  • Software
  • Press Release
  • Trending

Sign Up for Our Newsletter

Subscribe to our newsletter to get our newest articles instantly!

World of SoftwareWorld of Software
Follow US
Copyright © All Rights Reserved. World of Software.
Welcome Back!

Sign in to your account

Lost your password?