VirtualBox

Changeset 34230 in vbox for trunk/include/iprt/path.h


Ignore:
Timestamp:
Nov 22, 2010 10:06:48 AM (14 years ago)
Author:
vboxsync
Message:

iprt,VBoxServiceAutoMount.cpp: RTPathSetOwner[Ex] should take NIL_RTUID/GID not -1 / ~0, the only excuse is that NIL_RT[UG]ID probably didn't exist when it was written. Ditto for the RTFileSetOwner API (not realized yet).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/iprt/path.h

    r34214 r34230  
    811811 * @returns iprt status code.
    812812 * @param   pszPath     Path to the file system object.
    813  * @param   uid         The new file owner user id. Use -1 (or ~0) to leave this unchanged.
    814  * @param   gid         The new group id. Use -1 (or ~0) to leave this unchanged.
     813 * @param   uid         The new file owner user id.  Pass NIL_RTUID to leave
     814 *                      this unchanged.
     815 * @param   gid         The new group id.  Pass NIL_RTGUID to leave this
     816 *                      unchanged.
    815817 */
    816818RTR3DECL(int) RTPathSetOwner(const char *pszPath, uint32_t uid, uint32_t gid);
     
    821823 * @returns iprt status code.
    822824 * @param   pszPath     Path to the file system object.
    823  * @param   uid         The new file owner user id. Use -1 (or ~0) to leave this unchanged.
    824  * @param   gid         The new group id. Use -1 (or ~0) to leave this unchanged.
     825 * @param   uid         The new file owner user id.  Pass NIL_RTUID to leave
     826 *                      this unchanged.
     827 * @param   gid         The new group id.  Pass NIL_RTGID to leave this
     828 *                      unchanged.
    825829 * @param   fFlags      RTPATH_F_ON_LINK or RTPATH_F_FOLLOW_LINK.
    826830 */
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