Changeset 61791 in vbox
- Timestamp:
- Jun 21, 2016 1:24:40 PM (9 years ago)
- svn:sync-xref-src-repo-rev:
- 108187
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Additions/solaris/SharedFolders/vboxfs_vnode.c
r54620 r61791 998 998 return (EINVAL); 999 999 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); 1011 1001 if (uio->uio_loffset < 0) 1012 1002 return (EINVAL); … … 1099 1089 1100 1090 if (uiop->uio_loffset >= limit) { 1101 /** @todo r=ramshankar: this is busted, kthread_t->t_procp has different1102 * 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);1109 1091 mutex_exit(&sffs_lock); 1110 1092 return (EFBIG);
Note:
See TracChangeset
for help on using the changeset viewer.