VirtualBox

Changeset 66426 in vbox


Ignore:
Timestamp:
Apr 5, 2017 9:57:15 AM (8 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
114391
Message:

Runtime/r0drv/linux: does not work

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Runtime/r0drv/linux/rtStrFormatKernelAddress-r0drv-linux.c

    r66425 r66426  
    4747{
    4848#if !defined(DEBUG) && LINUX_VERSION_CODE >= KERNEL_VERSION(2, 6, 38)
    49     bool fRestrict = false;
     49    bool fRestrict = true;
     50#if 0
    5051    if (kptr_restrict > 1)
    5152        fRestrict = true;
    5253    else if (kptr_restrict == 1)
    5354    {
    54 #if 0
    5555        const struct cred *cred = current_cred();
    5656        if (   !has_capability_noaudit(current, CAP_SYSLOG)
     
    6060# endif
    6161            )
    62 #endif
    6362            fRestrict = true;
    6463    }
     64#endif
    6565
    6666    if (fRestrict)
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