VirtualBox

Changeset 97667 in vbox for trunk/src/VBox


Ignore:
Timestamp:
Nov 23, 2022 1:21:37 PM (2 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
154722
Message:

Validation Kit: Also enable + collecting crash reporting (core dumps) for Solaris hosts for the so-called process-id scope [shorter version, only requires one invocation].

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/ValidationKit/testdriver/base.py

    r97666 r97667  
    721721            if sKindCrashDump is not None: # Enable.
    722722                sCorePath = getDirEnv('TESTBOX_PATH_SCRATCH', sAlternative = '/var/cores', fTryCreate = False);
    723                 utils.sudoProcessOutputChecked([ 'coreadm', '-e', 'process', '-g', os.path.join(sCorePath, 'core.%f.%p') ]);
    724                 utils.sudoProcessOutputChecked([ 'coreadm', '-e', 'proc-setid', '-g', os.path.join(sCorePath, 'core.%f.%p') ]);
     723                utils.sudoProcessOutputChecked([ 'coreadm', '-e', 'global', '-e', 'global-setid', \
     724                                                 '-e', 'process', '-e', 'proc-setid', \
     725                                                 '-g', os.path.join(sCorePath, 'core.%f.%p')]);
    725726            else: # Disable.
    726                 utils.sudoProcessOutputChecked([ 'coreadm', '-d', 'process' ]);
    727                 utils.sudoProcessOutputChecked([ 'coreadm', '-d', 'proc-setid' ]);
     727                utils.sudoProcessOutputChecked([ 'coreadm', \
     728                                                 '-d', 'global', '-d', 'global-setid', '-d', 'process', '-d', 'proc-setid' ]);
    728729
    729730        if sKindCrashDump is not None:
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette