how to use system calls from user space

From: une pomme (trois_melons_at_yahoo.fr)
Date: 07/25/04

  • Next message: une pomme: "Re: how to use system calls from *user space* -> *kernel* space..."
    Date:	Sun, 25 Jul 2004 17:50:58 +0200 (CEST)
    To: linux-kernel@vger.kernel.org
    
    

    hi,

    I have some problems using system calls from kernel
    space because they are acting like if data were given
    from user space and can not retrieve them correctly.
    so I have to recode system calls I want to use,
    removing "getname" and "putname" functions (this way
    it works ok).

    Does it exist another way to call, for example,
    "sys_open" from kernel space? Have I missed something?

    thanks,

    bye

            

            
                    
    Vous manquez d’espace pour stocker vos mails ?
    Yahoo! Mail vous offre GRATUITEMENT 100 Mo !
    Créez votre Yahoo! Mail sur http://fr.benefits.yahoo.com/

    Le nouveau Yahoo! Messenger est arrivé ! Découvrez toutes les nouveautés pour dialoguer instantanément avec vos amis. A télécharger gratuitement sur http://fr.messenger.yahoo.com
    -
    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/


  • Next message: une pomme: "Re: how to use system calls from *user space* -> *kernel* space..."

    Relevant Pages

    • [FC3] shutdown issue
      ... to shutdown properly FC3, tried tips suggested like ... Mail vous offre GRATUITEMENT 100 Mo! ... Créez votre Yahoo! ...
      (Fedora)
    • Re: Linux 2.6.8-rc3
      ... specifying iocharset works. ... Mail vous offre GRATUITEMENT 100 Mo! ... Créez votre Yahoo! ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)
    • kernel Oops!!!!
      ... So when i boot my computer, there is kernel ... I want to unsubscribe this mailing list. ... Mail vous offre GRATUITEMENT 100 Mo! ... Créez votre Yahoo! ...
      (Linux-Kernel)
    • kernel Oops!!!!
      ... So when i boot my computer, there is kernel ... I want to unsubscribe this mailing list. ... Mail vous offre GRATUITEMENT 100 Mo! ... Créez votre Yahoo! ...
      (Linux-Kernel)
    • Re: New dev model (was [PATCH] delete devfs)
      ... Fri, 23 Jul 2004, szonyi calin wrote: ... >> end user when the kernel will not be stable enough and will ... Créez votre Yahoo! ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)