Print this page
uts: Allow for address space randomisation.
Randomise the base addresses of shared objects, non-fixed mappings, the
stack and the heap.  Introduce a service, svc:/system/process-security,
and a tool psecflags(1) to control and observe it


1341 @ MSG_ARG_BELIMINATE    "-Beliminate"
1342 @ MSG_ARG_BGROUP        "-Bgroup"
1343 @ MSG_ARG_BLOCAL        "-Blocal"
1344 @ MSG_ARG_BNODIRECT     "-Bnodirect"
1345 @ MSG_ARG_BSYMBOLIC     "-Bsymbolic"
1346 @ MSG_ARG_BTRANSLATOR   "-Btranslator"
1347 @ MSG_ARG_C             "-c"
1348 @ MSG_ARG_D             "-d"
1349 @ MSG_ARG_DY            "-dy"
1350 @ MSG_ARG_CI            "-I"
1351 @ MSG_ARG_CN            "-N"
1352 @ MSG_ARG_P             "-p"
1353 @ MSG_ARG_CP            "-P"
1354 @ MSG_ARG_CQ            "-Q"
1355 @ MSG_ARG_CY            "-Y"
1356 @ MSG_ARG_CYL           "-YL"
1357 @ MSG_ARG_CYP           "-YP"
1358 @ MSG_ARG_CYU           "-YU"
1359 @ MSG_ARG_Z             "-z"
1360 @ MSG_ARG_ZDEFNODEF     "-z[defs|nodefs]"

1361 @ MSG_ARG_ZGUIDE        "-zguidance"
1362 @ MSG_ARG_ZNODEF        "-znodefs"
1363 @ MSG_ARG_ZNOINTERP     "-znointerp"
1364 @ MSG_ARG_ZRELAXRELOC   "-zrelaxreloc"
1365 @ MSG_ARG_ZNORELAXRELOC "-znorelaxreloc"
1366 @ MSG_ARG_ZTEXT         "-ztext"
1367 @ MSG_ARG_ZTEXTOFF      "-ztextoff"
1368 @ MSG_ARG_ZTEXTWARN     "-ztextwarn"
1369 @ MSG_ARG_ZTEXTALL      "-z[text|textwarn|textoff]"
1370 @ MSG_ARG_ZLOADFLTR     "-zloadfltr"
1371 @ MSG_ARG_ZCOMBRELOC    "-zcombreloc"
1372 @ MSG_ARG_ZSYMBOLCAP    "-zsymbolcap"
1373 @ MSG_ARG_ZFATWNOFATW   "-z[fatal-warnings|nofatalwarnings]"
1374 
1375 @ MSG_ARG_ABSEXEC       "absexec"
1376 @ MSG_ARG_ALTEXEC64     "altexec64"

1377 @ MSG_ARG_NOCOMPSTRTAB  "nocompstrtab"
1378 @ MSG_ARG_GROUPPERM     "groupperm"
1379 @ MSG_ARG_NOGROUPPERM   "nogroupperm"
1380 @ MSG_ARG_LAZYLOAD      "lazyload"
1381 @ MSG_ARG_NOLAZYLOAD    "nolazyload"
1382 @ MSG_ARG_INTERPOSE     "interpose"
1383 @ MSG_ARG_DIRECT        "direct"
1384 @ MSG_ARG_NODIRECT      "nodirect"
1385 @ MSG_ARG_IGNORE        "ignore"
1386 @ MSG_ARG_RECORD        "record"
1387 @ MSG_ARG_INITFIRST     "initfirst"
1388 @ MSG_ARG_INITARRAY     "initarray="
1389 @ MSG_ARG_FINIARRAY     "finiarray="
1390 @ MSG_ARG_PREINITARRAY  "preinitarray="
1391 @ MSG_ARG_RTLDINFO      "rtldinfo="
1392 @ MSG_ARG_DTRACE        "dtrace="
1393 @ MSG_ARG_TRANSLATOR    "translator"
1394 @ MSG_ARG_NOOPEN        "nodlopen"
1395 @ MSG_ARG_NOW           "now"
1396 @ MSG_ARG_ORIGIN        "origin"


1457 @ MSG_ARG_T_ENTRY       "-entry"
1458 @ MSG_ARG_T_STDFLTR     "-filter"
1459 @ MSG_ARG_T_FATWARN     "-fatal-warnings"
1460 @ MSG_ARG_T_NOFATWARN   "-no-fatal-warnings"
1461 @ MSG_ARG_T_HELP        "-help"
1462 @ MSG_ARG_T_LIBRARY     "-library"
1463 @ MSG_ARG_T_LIBPATH     "-library-path"
1464 @ MSG_ARG_T_NOUNDEF     "-no-undefined"
1465 @ MSG_ARG_T_NOWHOLEARC  "-no-whole-archive"
1466 @ MSG_ARG_T_OUTPUT      "-output"
1467 @ MSG_ARG_T_RELOCATABLE "-relocatable"
1468 @ MSG_ARG_T_STARTGROUP  "-start-group"
1469 @ MSG_ARG_T_STRIP       "-strip-all"
1470 @ MSG_ARG_T_UNDEF       "-undefined"
1471 @ MSG_ARG_T_VERSION     "-version"
1472 @ MSG_ARG_T_WHOLEARC    "-whole-archive"
1473 @ MSG_ARG_T_WRAP        "-wrap"
1474 @ MSG_ARG_T_OPAR        "("
1475 @ MSG_ARG_T_CPAR        ")"
1476 



1477 # -z guidance=item strings
1478 @ MSG_ARG_GUIDE_DELIM           ",: \t"
1479 @ MSG_ARG_GUIDE_NO_ALL          "noall"
1480 @ MSG_ARG_GUIDE_NO_DEFS         "nodefs"
1481 @ MSG_ARG_GUIDE_NO_DIRECT       "nodirect"
1482 @ MSG_ARG_GUIDE_NO_LAZYLOAD     "nolazyload"
1483 @ MSG_ARG_GUIDE_NO_MAPFILE      "nomapfile"
1484 @ MSG_ARG_GUIDE_NO_TEXT         "notext"
1485 @ MSG_ARG_GUIDE_NO_UNUSED       "nounused"
1486 
1487 # Environment variable strings
1488 
1489 @ MSG_LD_RUN_PATH       "LD_RUN_PATH"
1490 @ MSG_LD_LIBPATH_32     "LD_LIBRARY_PATH_32"
1491 @ MSG_LD_LIBPATH_64     "LD_LIBRARY_PATH_64"
1492 @ MSG_LD_LIBPATH        "LD_LIBRARY_PATH"
1493 
1494 @ MSG_LD_NOVERSION_32   "LD_NOVERSION_32"
1495 @ MSG_LD_NOVERSION_64   "LD_NOVERSION_64"
1496 @ MSG_LD_NOVERSION      "LD_NOVERSION"




1341 @ MSG_ARG_BELIMINATE    "-Beliminate"
1342 @ MSG_ARG_BGROUP        "-Bgroup"
1343 @ MSG_ARG_BLOCAL        "-Blocal"
1344 @ MSG_ARG_BNODIRECT     "-Bnodirect"
1345 @ MSG_ARG_BSYMBOLIC     "-Bsymbolic"
1346 @ MSG_ARG_BTRANSLATOR   "-Btranslator"
1347 @ MSG_ARG_C             "-c"
1348 @ MSG_ARG_D             "-d"
1349 @ MSG_ARG_DY            "-dy"
1350 @ MSG_ARG_CI            "-I"
1351 @ MSG_ARG_CN            "-N"
1352 @ MSG_ARG_P             "-p"
1353 @ MSG_ARG_CP            "-P"
1354 @ MSG_ARG_CQ            "-Q"
1355 @ MSG_ARG_CY            "-Y"
1356 @ MSG_ARG_CYL           "-YL"
1357 @ MSG_ARG_CYP           "-YP"
1358 @ MSG_ARG_CYU           "-YU"
1359 @ MSG_ARG_Z             "-z"
1360 @ MSG_ARG_ZDEFNODEF     "-z[defs|nodefs]"
1361 @ MSG_ARG_ZASLR         "-zaslr"
1362 @ MSG_ARG_ZGUIDE        "-zguidance"
1363 @ MSG_ARG_ZNODEF        "-znodefs"
1364 @ MSG_ARG_ZNOINTERP     "-znointerp"
1365 @ MSG_ARG_ZRELAXRELOC   "-zrelaxreloc"
1366 @ MSG_ARG_ZNORELAXRELOC "-znorelaxreloc"
1367 @ MSG_ARG_ZTEXT         "-ztext"
1368 @ MSG_ARG_ZTEXTOFF      "-ztextoff"
1369 @ MSG_ARG_ZTEXTWARN     "-ztextwarn"
1370 @ MSG_ARG_ZTEXTALL      "-z[text|textwarn|textoff]"
1371 @ MSG_ARG_ZLOADFLTR     "-zloadfltr"
1372 @ MSG_ARG_ZCOMBRELOC    "-zcombreloc"
1373 @ MSG_ARG_ZSYMBOLCAP    "-zsymbolcap"
1374 @ MSG_ARG_ZFATWNOFATW   "-z[fatal-warnings|nofatalwarnings]"
1375 
1376 @ MSG_ARG_ABSEXEC       "absexec"
1377 @ MSG_ARG_ALTEXEC64     "altexec64"
1378 @ MSG_ARG_ASLR          "aslr"
1379 @ MSG_ARG_NOCOMPSTRTAB  "nocompstrtab"
1380 @ MSG_ARG_GROUPPERM     "groupperm"
1381 @ MSG_ARG_NOGROUPPERM   "nogroupperm"
1382 @ MSG_ARG_LAZYLOAD      "lazyload"
1383 @ MSG_ARG_NOLAZYLOAD    "nolazyload"
1384 @ MSG_ARG_INTERPOSE     "interpose"
1385 @ MSG_ARG_DIRECT        "direct"
1386 @ MSG_ARG_NODIRECT      "nodirect"
1387 @ MSG_ARG_IGNORE        "ignore"
1388 @ MSG_ARG_RECORD        "record"
1389 @ MSG_ARG_INITFIRST     "initfirst"
1390 @ MSG_ARG_INITARRAY     "initarray="
1391 @ MSG_ARG_FINIARRAY     "finiarray="
1392 @ MSG_ARG_PREINITARRAY  "preinitarray="
1393 @ MSG_ARG_RTLDINFO      "rtldinfo="
1394 @ MSG_ARG_DTRACE        "dtrace="
1395 @ MSG_ARG_TRANSLATOR    "translator"
1396 @ MSG_ARG_NOOPEN        "nodlopen"
1397 @ MSG_ARG_NOW           "now"
1398 @ MSG_ARG_ORIGIN        "origin"


1459 @ MSG_ARG_T_ENTRY       "-entry"
1460 @ MSG_ARG_T_STDFLTR     "-filter"
1461 @ MSG_ARG_T_FATWARN     "-fatal-warnings"
1462 @ MSG_ARG_T_NOFATWARN   "-no-fatal-warnings"
1463 @ MSG_ARG_T_HELP        "-help"
1464 @ MSG_ARG_T_LIBRARY     "-library"
1465 @ MSG_ARG_T_LIBPATH     "-library-path"
1466 @ MSG_ARG_T_NOUNDEF     "-no-undefined"
1467 @ MSG_ARG_T_NOWHOLEARC  "-no-whole-archive"
1468 @ MSG_ARG_T_OUTPUT      "-output"
1469 @ MSG_ARG_T_RELOCATABLE "-relocatable"
1470 @ MSG_ARG_T_STARTGROUP  "-start-group"
1471 @ MSG_ARG_T_STRIP       "-strip-all"
1472 @ MSG_ARG_T_UNDEF       "-undefined"
1473 @ MSG_ARG_T_VERSION     "-version"
1474 @ MSG_ARG_T_WHOLEARC    "-whole-archive"
1475 @ MSG_ARG_T_WRAP        "-wrap"
1476 @ MSG_ARG_T_OPAR        "("
1477 @ MSG_ARG_T_CPAR        ")"
1478 
1479 @ MSG_ARG_ENABLED       "enabled"
1480 @ MSG_ARG_DISABLED      "disabled"
1481 
1482 # -z guidance=item strings
1483 @ MSG_ARG_GUIDE_DELIM           ",: \t"
1484 @ MSG_ARG_GUIDE_NO_ALL          "noall"
1485 @ MSG_ARG_GUIDE_NO_DEFS         "nodefs"
1486 @ MSG_ARG_GUIDE_NO_DIRECT       "nodirect"
1487 @ MSG_ARG_GUIDE_NO_LAZYLOAD     "nolazyload"
1488 @ MSG_ARG_GUIDE_NO_MAPFILE      "nomapfile"
1489 @ MSG_ARG_GUIDE_NO_TEXT         "notext"
1490 @ MSG_ARG_GUIDE_NO_UNUSED       "nounused"
1491 
1492 # Environment variable strings
1493 
1494 @ MSG_LD_RUN_PATH       "LD_RUN_PATH"
1495 @ MSG_LD_LIBPATH_32     "LD_LIBRARY_PATH_32"
1496 @ MSG_LD_LIBPATH_64     "LD_LIBRARY_PATH_64"
1497 @ MSG_LD_LIBPATH        "LD_LIBRARY_PATH"
1498 
1499 @ MSG_LD_NOVERSION_32   "LD_NOVERSION_32"
1500 @ MSG_LD_NOVERSION_64   "LD_NOVERSION_64"
1501 @ MSG_LD_NOVERSION      "LD_NOVERSION"