387 #ifdef _LP64
388 { elf64magicstr, 0, 5, NULL, NULL, NULL },
389 #endif
390 { intpmagicstr, 0, 2, NULL, NULL, NULL },
391 { shbinmagicstr, 0, SHBINMAGIC_LEN, NULL, NULL, NULL },
392 { javamagicstr, 0, 4, NULL, NULL, NULL },
393 #if defined(__sparc)
394 { aout_zmagicstr, 2, 2, NULL, NULL, NULL },
395 { aout_nmagicstr, 2, 2, NULL, NULL, NULL },
396 { aout_omagicstr, 2, 2, NULL, NULL, NULL },
397 #endif
398 { nomagicstr, 0, 0, NULL, NULL, NULL },
399 { nomagicstr, 0, 0, NULL, NULL, NULL },
400 { nomagicstr, 0, 0, NULL, NULL, NULL },
401 { nomagicstr, 0, 0, NULL, NULL, NULL }
402 };
403 int nexectype = sizeof (execsw) / sizeof (execsw[0]); /* # of exec types */
404 kmutex_t execsw_lock; /* Used for allocation of execsw entries */
405
406 /*
407 * symbols added to make changing max-file-descriptors
408 * simple via /etc/system
409 */
410 #define RLIM_FD_CUR 0x100
411 #define RLIM_FD_MAX 0x10000
412
413 uint_t rlim_fd_cur = RLIM_FD_CUR;
414 uint_t rlim_fd_max = RLIM_FD_MAX;
415
416 /*
417 * (Default resource limits were formerly declared here, but are now provided by
418 * the more general resource controls framework.)
419 */
420
421 /*
422 * STREAMS tunables
423 */
424 int nstrpush = 9; /* maximum # of modules/drivers on a stream */
425 ssize_t strctlsz = 1024; /* maximum size of user-generated M_PROTO */
426 ssize_t strmsgsz = 0x10000; /* maximum size of user-generated M_DATA */
427 /* for `strmsgsz', zero means unlimited */
428 /*
429 * Filesystem tunables
430 */
|
387 #ifdef _LP64
388 { elf64magicstr, 0, 5, NULL, NULL, NULL },
389 #endif
390 { intpmagicstr, 0, 2, NULL, NULL, NULL },
391 { shbinmagicstr, 0, SHBINMAGIC_LEN, NULL, NULL, NULL },
392 { javamagicstr, 0, 4, NULL, NULL, NULL },
393 #if defined(__sparc)
394 { aout_zmagicstr, 2, 2, NULL, NULL, NULL },
395 { aout_nmagicstr, 2, 2, NULL, NULL, NULL },
396 { aout_omagicstr, 2, 2, NULL, NULL, NULL },
397 #endif
398 { nomagicstr, 0, 0, NULL, NULL, NULL },
399 { nomagicstr, 0, 0, NULL, NULL, NULL },
400 { nomagicstr, 0, 0, NULL, NULL, NULL },
401 { nomagicstr, 0, 0, NULL, NULL, NULL }
402 };
403 int nexectype = sizeof (execsw) / sizeof (execsw[0]); /* # of exec types */
404 kmutex_t execsw_lock; /* Used for allocation of execsw entries */
405
406 /*
407 * symbols added to make changing proc.max-file-descriptor
408 * simple via /etc/system
409 */
410 #define RLIM_FD_CUR 0x10000
411 #define RLIM_FD_MAX 0x10000
412
413 uint_t rlim_fd_cur = RLIM_FD_CUR;
414 uint_t rlim_fd_max = RLIM_FD_MAX;
415
416 /*
417 * (Default resource limits were formerly declared here, but are now provided by
418 * the more general resource controls framework.)
419 */
420
421 /*
422 * STREAMS tunables
423 */
424 int nstrpush = 9; /* maximum # of modules/drivers on a stream */
425 ssize_t strctlsz = 1024; /* maximum size of user-generated M_PROTO */
426 ssize_t strmsgsz = 0x10000; /* maximum size of user-generated M_DATA */
427 /* for `strmsgsz', zero means unlimited */
428 /*
429 * Filesystem tunables
430 */
|