Summary: | recvmmsg clobbers const argument | ||
---|---|---|---|
Product: | glibc | Reporter: | Rich Felker <bugdal> |
Component: | network | Assignee: | Not yet assigned to anyone <unassigned> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | drepper.fsp, fweimer, nodakai |
Priority: | P2 | Flags: | fweimer:
security-
|
Version: | unspecified | ||
Target Milestone: | 2.21 | ||
Host: | Target: | ||
Build: | Last reconfirmed: |
Description
Rich Felker
2014-04-18 01:01:47 UTC
Shouldn't the prototype be changed instead because the interface is specific to Linux? This issue was discussed somewhere else -- I don't recall exactly but it was probably the man pages list or something kernel-related -- and the feeling was that the const in glibc is wrong since this is a Linux-specific interface. I'm okay with removing const and updating documentation to reflect Linux behavior if that's what you prefer. That's what we did in musl. Already fixed in 20e5a5f aka glibc-2.21~541 |