| 793 | } |
| 794 | |
| 795 | void |
| 796 | thread_cow_get(struct thread *newtd, struct thread *td) |
| 797 | { |
| 798 | |
| 799 | MPASS(td->td_realucred == td->td_ucred); |
| 800 | newtd->td_realucred = crcowget(td->td_realucred); |
| 801 | newtd->td_ucred = newtd->td_realucred; |
| 802 | newtd->td_limit = lim_hold(td->td_limit); |
| 803 | newtd->td_cowgen = td->td_cowgen; |
| 804 | } |
| 805 | |
| 806 | void |
| 807 | thread_cow_free(struct thread *td) |
no test coverage detected