DragonFly kernel List (threaded) for 2004-03
[
Date Prev][
Date Next]
[
Thread Prev][
Thread Next]
[
Date Index][
Thread Index]
Re: Q: chroot(9) returning EFAULT
On Mon, 15 Mar 2004, Paul Herman wrote:
> It does:
>
> {
> struct prison j;
> struct chroot_args ca;
>
> [...]
> ca.path = j.pr_path; /* !!!! */
> error = chroot(&ca);
> [...]
> }
>
> hmmm...
Sorry to reply to myself, I see it now. The pointer is still in
user land, I assumed it was an array. Thanks!
-Paul.
[
Date Prev][
Date Next]
[
Thread Prev][
Thread Next]
[
Date Index][
Thread Index]