Re: socket path length

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



* Damian Ivanov:

> I could not find any information if having the socket length limited
> is still something that is required nowadays as it seems this is
> mostly for compatibility reasons?

I don't know why the kernel limits the socket length.  There is no
strict requirement to do so because the userspace interfaces all have
explicit lengths.  struct sockaddr_un has a fixed-size buffer, but
that could be worked around, similar to struct dirent.

The internal kernel interfaces are built on top of struct
sockaddr_storage and do not pass explicit lengths, but those could be
changed.
_______________________________________________
kernel mailing list -- kernel@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to kernel-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/kernel@xxxxxxxxxxxxxxxxxxxxxxx




[Index of Archives]     [Fedora General Discussion]     [Older Fedora Users Archive]     [Fedora Advisory Board]     [Fedora Security]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [ATA RAID]     [Fedora Marketing]     [Fedora Mentors]     [Fedora Package Announce]     [Fedora Package Review]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Coolkey]     [Yum Users]     [Tux]     [Yosemite News]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [USB]     [Asterisk PBX]

  Powered by Linux