lkml.org 
[lkml]   [2006]   [Jan]   [12]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    SubjectRe: [RFC] [PATCH] sysfs support for Xen attributes
    From
    Date
    On Thu, 2006-01-12 at 12:53 -0600, Anthony Liguori wrote:
    >
    > We wish to make management hypercalls as the root user in userspace
    > which means we have to go through the kernel. Currently, we do this
    > by
    > having /proc/xen/privcmd accept an ioctl() that takes a structure
    > that
    > describe the register arguments. The kernel interface allows us to
    > control who in userspace can execute hypercalls.

    ioctls on proc is evil though (so is ioctl-on-sysfs). It's a device not
    a proc file!


    -
    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to majordomo@vger.kernel.org
    More majordomo info at http://vger.kernel.org/majordomo-info.html
    Please read the FAQ at http://www.tux.org/lkml/

    \
     
     \ /
      Last update: 2006-01-12 19:57    [W:0.055 / U:89.940 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site