summaryrefslogtreecommitdiff
path: root/usr/src/uts/common/os/exec.c
AgeCommit message (Collapse)AuthorFilesLines
2022-09-12 [illumos-gate merge]Dan McDonald1-0/+3
commit f8e9c7b3ba7100b047717589235b6d05ec43646c 14925 plumb DFv4 into amdzen(4D) commit ba215efe42e70993d3838f7af671f9d9fc0ebc33 14936 need a better SMN addressing mechanism commit 56726c7e321b6e5ecb2f10215f5386016547e68c 14821 Add additional AVX512 capabilities 14822 Need new word of hardware capabilities 14823 aux vector feature mapping should use x86_featureset commit f2ae17ede4a9a93585872a9aa83120497285bdd0 14077 Want wrapper for external SMB server tests commit 544783ca6fcbe20a0c82b42aabd4e88a9ac69e68 14960 mountd: cleaning up some build gags commit 153f3212c5a48deec74be10ba87dd04bc99edbbb 14815 nvmeadm: identify support for namespace management Conflicts: manifest usr/src/cmd/sgs/libconv/common/corenote.c usr/src/cmd/sgs/libconv/common/corenote.msg usr/src/cmd/sgs/rtld/common/globals.c usr/src/cmd/sgs/rtld/common/rtld.msg usr/src/cmd/sgs/rtld/common/setup.c usr/src/uts/common/exec/elf/elf.c usr/src/uts/common/os/exec.c usr/src/uts/common/sys/user.h usr/src/uts/intel/os/cpuid.c usr/src/uts/intel/os/driver_aliases
2022-09-1114821 Add additional AVX512 capabilitiesRobert Mustacchi1-1/+4
14822 Need new word of hardware capabilities 14823 aux vector feature mapping should use x86_featureset Reviewed by: Richard Lowe <richlowe@richlowe.net> Reviewed by: Patrick Mooney <pmooney@pfmooney.com> Approved by: Dan McDonald <danmcd@mnx.io>
2019-09-12OS-7931 ::refstr would be usefulJohn Levon1-14/+25
OS-7932 ::ps -s could show service FMRIs OS-7934 ptree could show service FMRIs OS-3513 ptools should see more process arguments Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com> Reviewed by: Jason King <jason.king@joyent.com> Approved by: Jerry Jelinek <jerry.jelinek@joyent.com>
2019-03-18OS-6158 signed math leads getelfshdr astrayPatrick Mooney1-4/+4
Reviewed by: Robert Mustacchi <rm@joyent.com> Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com> Reviewed by: Cody Peter Mello <melloc@writev.io> Approved by: Mike Gerdts <mike.gerdts@joyent.com>
2019-02-21 [illumos-gate merge]Jerry Jelinek1-2/+2
commit 7957da45b8e66b8cd6e917ac6bd8965817d7ef06 10144 BZ2_bzDecompressReset() gets NULL check wrong commit a8b4e7c71a6c1ef07e77c48dbb92fcdc8624266d 10424 uts: NULL pointer errors in DEBUG build commit f1ccfd86d00d3a46fa8dc85b88860e10a3ad1019 10423 bridge: cast between incompatible function types commit fb05fcb92e04bd3719e79f64be4c3432c2f1a119 10422 conskbd: cast between incompatible function types commit 98bfe312451089fb99dd3ccde47363ce4d275459 10420 consms: cast between incompatible function types commit 336380cbc80cdb79336de7f2b9a5d418c0991618 10383 myri10ge: NULL pointer errors commit 0333c43738b2582094bb2644c0a1f4211751447b 10364 vnode: cast between incompatible function types commit af34582fe571c99d9f74acf7c271e26c744fef5b 10416 zoneadmd leaves trailing comma on link address commit ffe245b40fe1731e6f0ea5c097a74eb78bc839e2 10415 Memory leak in ipadm_zone_get_network() commit b9e319bfd413f32cc39ec7b8ccc527f35712da7f 10419 ntxn: cast between incompatible function types commit 4fa33403ece8f42c56cba2b672d10f6ab4dc32cd 10418 chxge: cast between incompatible function types commit 888d78e951c54427c93b8ef788383952b9c63687 10410 kmdb: set terminal window size commit 3ab29d2187aaeb14feecd145834ac2f151dc822c 10378 agpgart: NULL pointer errors commit 7e12ceb3ebc63aeb71e91b496032ca22ca55f660 10376 uts: NULL pointer issues in genunix commit 7e897d1fc847b22dc338da9a5a59dae0cd8765de 10373 vm_anon: cast between incompatible function types commit 735c423ad1b2b03125a2c8d3840540d6b17f7dbf 10372 vmem: cast between incompatible function types commit b6d49c8438f976a7c4a6c9390228076c8f132847 10371 vfs: cast between incompatible function types commit d0cb1fb92629bc0283c88d4719df7285c1612700 9425 allow channel programs to be stopped via signals commit 9d1587b49e4692b8d6652e6c0b113a53b1af5313 10124 smatch fixes for cryptoadm Conflicts: usr/src/cmd/zoneadmd/vplat.c
2019-02-2010376 uts: NULL pointer issues in genunixToomas Soome1-2/+2
Reviewed by: Andy Fiddaman <andy@omniosce.org> Reviewed by: Andy Stormont <astormont@racktopsystems.com> Reviewed by: John Levon <john.levon@joyent.com> Approved by: Robert Mustacchi <rm@joyent.com>
2018-07-199641 want stack-clash mitigationPatrick Mooney1-4/+58
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com> Reviewed by: Alex Wilson <alex.wilson@joyent.com> Reviewed by: Mike Gerdts <mike.gerdts@joyent.com> Reviewed by: Toomas Soome <tsoome@me.com> Approved by: Robert Mustacchi <rm@joyent.com>
2017-09-28OS-6323 want stack-clash mitigationPatrick Mooney1-4/+58
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com> Reviewed by: Alex Wilson <alex.wilson@joyent.com> Approved by: Alex Wilson <alex.wilson@joyent.com>
2016-11-167505 dtrace helpers leaked during fork when lwp_create failsPatrick Mooney1-2/+2
Reviewed by: Bryan Cantrill <bryan@joyent.com> Reviewed by: Ryan Zezeski <rpz@joyent.com> Reviewed by: Adam Leventhal <adam.leventhal@gmail.com> Reviewed by: Sanjay Nadkarni <sanjay.nadkarni@nexenta.com> Reviewed by: Alek Pinchuk <pinchuk.alek@gmail.com> Approved by: Richard Lowe <richlowe@richlowe.net>
2016-11-03OS-5761 some code is careless about p_lock when accessing u_cdirJerry Jelinek1-1/+4
Reviewed by: Patrick Mooney <patrick.mooney@joyent.com> Approved by: Patrick Mooney <patrick.mooney@joyent.com>
2016-10-25OS-5740 dtrace helpers leaked during fork when lwp_create failsPatrick Mooney1-2/+2
Reviewed by: Bryan Cantrill <bryan@joyent.com> Reviewed by: Ryan Zezeski <rpz@joyent.com> Approved by: Robert Mustacchi <rm@joyent.com>
2016-10-17 [illumos-gate merge]Jerry Jelinek1-12/+71
commit d2a70789f056fc6c9ce3ab047b52126d80b0e3da 7029 want per-process exploit mitigation features (secflags) 7030 want basic address space layout randomization (ASLR) 7031 noexec_user_stack should be a security-flag 7032 want a means to forbid mappings around NULL commit 8ab1c3f559468e655c4eb8acce993320403dd72b 7469 loader should use acpica provided by OS commit a1964bdd47804c37e09db1a79c23937c9aeac165 7470 acpi build sometimes doesn't descend into SUBDIRS commit abf99a006172ea5aab2246bda23f9d6d935bf1ad 7420 signalfd deadlock on pollwakeup 7421 panic in signalfd Conflicts: usr/src/cmd/sgs/libconv/common/corenote.c usr/src/cmd/zonecfg/zonecfg.c usr/src/cmd/zonecfg/zonecfg.h usr/src/cmd/zonecfg/zonecfg_grammar.y usr/src/cmd/zonecfg/zonecfg_lex.l usr/src/head/libzonecfg.h usr/src/lib/libzonecfg/common/libzonecfg.c usr/src/man/man1m/zonecfg.1m usr/src/man/man4/proc.4 usr/src/pkg/manifests/system-test-ostest.mf usr/src/test/os-tests/tests/Makefile usr/src/uts/common/exec/elf/elf.c usr/src/uts/common/io/signalfd.c usr/src/uts/common/os/sysent.c usr/src/uts/common/os/zone.c usr/src/uts/common/sys/proc.h usr/src/uts/common/sys/zone.h
2016-10-157029 want per-process exploit mitigation features (secflags)Richard Lowe1-12/+72
7030 want basic address space layout randomization (ASLR) 7031 noexec_user_stack should be a security-flag 7032 want a means to forbid mappings around NULL Reviewed by: Robert Mustacchi <rm@joyent.com> Reviewed by: Josef 'Jeff' Sipek <jeffpc@josefsipek.net> Reviewed by: Patrick Mooney <pmooney@joyent.com> Approved by: Dan McDonald <danmcd@omniti.com>
2016-05-026826 want support for nested interpretersJerry Jelinek1-6/+19
Reviewed by: Patrick Mooney <patrick.mooney@joyent.com> Reviewed by: Cody Mello <cody.mello@joyent.com> Reviewed by: Josef 'Jeff' Sipek <jeffpc@josefsipek.net> Approved by: Dan McDonald <danmcd@omniti.com
2016-01-06 [illumos-gate merge]Jerry Jelinek1-2/+2
commit ceef08daa722b3a411ef838c03fb2fe6ada2f884 6507 i386 makecontext(3c) needs to 16-byte align the stack commit dc32d872cbeb56532bcea030255db9cd79bac7da 6514 AS_* lock macros simplification
2016-01-056514 AS_* lock macros simplificationJosef 'Jeff' Sipek1-2/+2
Reviewed by: Piotr Jasiukajtis <estibi@me.com> Reviewed by: Yuri Pankov <yuri.pankov@nexenta.com> Reviewed by: Albert Lee <trisk@omniti.com> Approved by: Dan McDonald <danmcd@omniti.com>
2015-10-27OS-4824 Unlike Linux, nested interpreters don't workJerry Jelinek1-6/+19
Reviewed by: Patrick Mooney <patrick.mooney@joyent.com> Reviewed by: Cody Mello <cody.mello@joyent.com>
2015-10-07OS-4818 contract template disappears on execJerry Jelinek1-1/+1
2015-06-29OS-4460 exec brands processes that still have multiple threadsPatrick Mooney1-9/+22
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com> Reviewed by: Joshua M. Clulow <jmc@joyent.com>
2015-06-16OS-3742 lxbrand add support for signalfdJerry Jelinek1-10/+2
OS-4382 remove obsolete brand hooks added during lx development
2015-04-16OS-4188 NULL dereference in lwp_hash_in20150416Patrick Mooney1-6/+7
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com> Reviewed by: Joshua M. Clulow <jmc@joyent.com>
2015-04-08OS-4119 lxbrand panic when running native perl inside lx zonePatrick Mooney1-2/+2
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
2015-04-07OS-4151 setbrand hooks should be sane during forkPatrick Mooney1-6/+17
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com> Reviewed by: Joshua M. Clulow <jmc@joyent.com>
2015-04-02OS-4129 lxbrand should not abuse p_brand_data for storing exit signalPatrick Mooney1-4/+10
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com> Reviewed by: Joshua M. Clulow <jmc@joyent.com>
2015-02-24OS-3561 lxbrand emulation library should execute on alternate stackJoshua M. Clulow1-0/+2
OS-3558 lxbrand add support for full in-kernel syscall handling OS-3545 lx_syscall_regs should not walk stack OS-3868 many LTP testcases now hang OS-3901 lxbrand lx_recvmsg fails to translate control messages when 64-bit Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com> Reviewed by: Patrick Mooney <patrick.mooney@joyent.com> Reviewed by: Bryan Cantrill <bryan@joyent.com>
2015-02-18OS-3871 AT_RANDOM aux entry should be populated using random_get_pseudo_bytesJerry Jelinek1-18/+4
2015-02-095566 elfexec is overzealous with vpagesJerry Jelinek1-3/+22
5572 elfexec and mapelfexec can disagree on aux vectors Reviewed by: Robert Mustacchi <rm@joyent.com> Reviewed by: Dan McDonald <danmcd@omniti.com> Reviewed by: Rich Lowe <richlowe@richlowe.net> Approved by: Rich Lowe <richlowe@richlowe.net>
2014-12-11OS-3627 mmap needs to handle large interpreted mappings betterJerry Jelinek1-34/+17
2014-12-10OS-3611 lx brand: 64-bit processes should not use VAs above VA holeBryan Cantrill1-0/+3
2014-12-09OS-3615 elfexec likes to play fast and looseJerry Jelinek1-9/+45
2014-10-20OS-3438 lx brand: "start rsyslog" hangsBryan Cantrill1-2/+16
2014-07-30OS-3280 need a way to specify the root of a native system in the lx brandRobert Mustacchi1-2/+16
OS-3279 lx brand should allow delegated datasets Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
2014-04-24OS-2949 add support for AT_RANDOM aux vector entryJerry Jelinek1-2/+51
2012-12-203414 Need a new word of AT_SUN_HWCAP bitsRobert Mustacchi1-0/+5
3415 Add isainfo support for f16c and rdrand 3416 Need disassembler support for rdrand and f16c Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com> Reviewed by: Richard Lowe <richlowe@richlowe.net> Reviewed by: Hans Rosenfeld <hans.rosenfeld@nexenta.com> Approved by: Garrett D'Amore <garrett@damore.org>
2010-08-096859073 kmem leak in kmem_alloc_64 in case of fork failures in branded zonesVamsi Nagineni1-2/+2
2010-04-28PSARC 2009/377 In-kernel pfexec implementation.Casper H.S. Dik1-29/+116
PSARC 2009/378 Basic File Privileges PSARC 2010/072 RBAC update: user attrs from profiles 4912090 pfzsh(1) should exist 4912093 pfbash(1) should exist 4912096 pftcsh(1) should exist 6440298 Expand the basic privilege set in order to restrict file access 6859862 Move pfexec into the kernel 6919171 cred_t sidesteps kmem_debug; we need to be able to detect bad hold/free when they occur 6923721 The new SYS_SMB privilege is not backward compatible 6937562 autofs doesn't remove its door when the zone shuts down 6937727 Zones stuck on deathrow; netstack_zone keeps a credential reference to the zone 6940159 Implement PSARC 2010/072
2010-03-226932898 panic: assertion failed: vp->v_rdcnt > 0, file: ↵Donghai Qiao1-3/+12
../../common/fs/vnode.c, line: 3175 6934241 running a setuid script with an invalid interpreter panics system
2010-03-05PSARC/2009/354 Always on / no reboot Solaris AuditMarek Pospisil1-1/+1
6192139 Solaris auditing should be able to start collecting audit records without a reboot
2010-02-28PSARC 2009/657 delete obsolete system call trapsRoger A. Faulkner1-9/+0
6906485 delete obsolete system call traps --HG-- rename : usr/src/cmd/truss/xstat.c => usr/src/cmd/truss/stat.c rename : usr/src/lib/libc/port/gen/dup2.c => usr/src/lib/libc/port/gen/dup.c rename : usr/src/lib/libc/port/sys/libc_fcntl.c => usr/src/lib/libc/port/sys/fcntl.c rename : usr/src/lib/libc/port/sys/libc_open.c => usr/src/lib/libc/port/sys/open.c
2010-02-224492533 Filesystems may need VOP_CLOSE() for executables following a VOP_OPEN()Donghai Qiao1-5/+25
2010-01-216918265 priv_debug is too noisy to allow enabling it by default even in ↵Casper H.S. Dik1-1/+1
DEBUG builds
2010-01-18PSARC 2009/686 Improving the use and debugging of the basic privilege set.Casper H.S. Dik1-1/+11
PSARC/2009/685 Basic Network Privilege 6434380 Expanding the basic privilege set in order to restrict network access and IPC 6912229 Multiple applications mishandle privilege operations, particular they ignore the basic set 6915243 dladm mishandles basic privileges 6915244 in.tftpd mishandles privileges operations 6915250 NDMP mishandles basic privileges 6915257 smbd mishandles basic privileges 6915277 login audit mishandles basic privileges 6915284 su audit mishandles basic privileges 6915778 lpd-port mishandles basic privileges 6915782 zlogin mishandles basic privileges
2009-06-156719215 profile timer survives exec; handler does not; process crashes with ↵Roger A. Faulkner1-0/+7
Profile Timer Expired
2009-04-176752891 p_lock gets hot with mysql (syslwp_park)Roger A. Faulkner1-7/+17
2009-03-176613349 setuid not allowed message could be more usefulJason King1-4/+45
2008-10-14PSARC 2008/622 32-bit Address Restriction Software Capabilities FlagRoger A. Faulkner1-4/+5
6755162 ADDR32 software capability: restrict a 64-bit process to the lower 32 bits of the address space
2008-07-016613318 can't restart init in branded zonesedp1-10/+9
6703962 sn1 brand is broken on x86 post b75
2008-03-20PSARC 2007/661 delete sched_niceraf1-5/+4
PSARC 2008/039 POSIX scheduling interfaces 6647542 POSIX scheduling should be compatible with Solaris scheduling classes --HG-- rename : usr/src/lib/libc/inc/rtsched.h => deleted_files/usr/src/lib/libc/inc/rtsched.h rename : usr/src/lib/libc/port/threads/rtsched.c => deleted_files/usr/src/lib/libc/port/threads/rtsched.c
2008-03-03PSARC 2008/109 Fine Grained Access Permissions (FGAP)casper1-4/+10
6664443 Implement PSARC/2008/109
2007-12-271162981 Remove C2_AUDIT #defines from the kernel and build filesgww1-8/+6