VirtualBox

Changeset 61791 in vbox


Ignore:
Timestamp:
Jun 21, 2016 1:24:40 PM (9 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
108187
Message:

Additions/solaris: Drop using rctl_action behaviour in sffs_read and sffs_write.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Additions/solaris/SharedFolders/vboxfs_vnode.c

    r54620 r61791  
    998998                return (EINVAL);
    999999        if (uio->uio_loffset >= MAXOFFSET_T)
    1000         {
    1001                 /** @todo r=ramshankar: this is busted, kthread_t->t_procp has different
    1002                  *        offsets between S10 and S11. Fix ASAP. */
    1003                 /* Raise psignal if the limit is exceeded. */
    1004                 proc_t *p = ttoproc(curthread);
    1005                 mutex_enter(&p->p_lock);
    1006                 (void) rctl_action(rctlproc_legacy[RLIMIT_FSIZE], p->p_rctls,
    1007                         p, RCA_UNSAFE_SIGINFO);
    1008                 mutex_exit(&p->p_lock);
    1009                 return (EFBIG);
    1010         }
     1000                return (0);
    10111001        if (uio->uio_loffset < 0)
    10121002                return (EINVAL);
     
    10991089
    11001090        if (uiop->uio_loffset >= limit) {
    1101                 /** @todo r=ramshankar: this is busted, kthread_t->t_procp has different
    1102                  *        offsets between S10 and S11. Fix ASAP. */
    1103                 /* Raise psignal if the limit is exceeded. */
    1104                 proc_t *p = ttoproc(curthread);
    1105                 mutex_enter(&p->p_lock);
    1106                 (void) rctl_action(rctlproc_legacy[RLIMIT_FSIZE], p->p_rctls,
    1107                     p, RCA_UNSAFE_SIGINFO);
    1108                 mutex_exit(&p->p_lock);
    11091091                mutex_exit(&sffs_lock);
    11101092                return (EFBIG);
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