forked from Imagelibrary/rtems
sys/utsname.h: Increase buffer to avoid overflow
This commit is contained in:
@@ -39,11 +39,11 @@ extern "C" {
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
#ifdef _KERNEL
|
#ifdef _KERNEL
|
||||||
#define SYS_NMLN 32 /* uname(2) for the FreeBSD 1.1 ABI. */
|
#define SYS_NMLN 48 /* uname(2) for the FreeBSD 1.1 ABI. */
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifndef SYS_NMLN
|
#ifndef SYS_NMLN
|
||||||
#define SYS_NMLN 32 /* User can override. */
|
#define SYS_NMLN 48 /* User can override. */
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
struct utsname {
|
struct utsname {
|
||||||
|
|||||||
Reference in New Issue
Block a user