PR: 278949
Details
Details
Diff Detail
Diff Detail
- Repository
- rG FreeBSD src repository
- Lint
Lint Skipped - Unit
Tests Skipped
Event Timeline
Comment Actions
I couldn't statically compile the 32-bits version to try. But I don't know if it would hit the same error.
| sys/kern/sysv_msg.c | ||
|---|---|---|
| 1442 | Is linprocfs only called from linux binaries? | |
| sys/kern/sysv_msg.c | ||
|---|---|---|
| 1442 | Oh, right, good point. We'd still want cat(1) etc. to work, so I think this diff isn't the right solution. | |
| sys/kern/sysv_msg.c | ||
|---|---|---|
| 1509 | I would just allocate the array with calloc() and not bother with all of this zeroing. | |
| sys/kern/sysv_msg.c | ||
|---|---|---|
| 1509 | These members are copied by the assignments like *pmsqk = msgids[i] above. Pre-zeroing the array would not help. | |