[2.6 patch] unexport sys_{open,read} - Kernel

This is a discussion on [2.6 patch] unexport sys_{open,read} - Kernel ; Now that they are unused we can finally unexport sys_{open,read}. Signed-off-by: Adrian Bunk --- fs/open.c | 1 - fs/read_write.c | 1 - 2 files changed, 2 deletions(-) eb86553917b5d7dc5c22e584145360ad0460372e diff --git a/fs/open.c b/fs/open.c index 4932b4d..21acf85 100644 --- a/fs/open.c +++ b/fs/open.c @@ ...

+ Reply to Thread
Results 1 to 2 of 2

Thread: [2.6 patch] unexport sys_{open,read}

  1. [2.6 patch] unexport sys_{open,read}

    Now that they are unused we can finally unexport sys_{open,read}.

    Signed-off-by: Adrian Bunk

    ---

    fs/open.c | 1 -
    fs/read_write.c | 1 -
    2 files changed, 2 deletions(-)

    eb86553917b5d7dc5c22e584145360ad0460372e
    diff --git a/fs/open.c b/fs/open.c
    index 4932b4d..21acf85 100644
    --- a/fs/open.c
    +++ b/fs/open.c
    @@ -1061,7 +1061,6 @@ asmlinkage long sys_open(const char __user *filename, int flags, int mode)
    prevent_tail_call(ret);
    return ret;
    }
    -EXPORT_UNUSED_SYMBOL_GPL(sys_open); /* To be deleted for 2.6.25 */

    asmlinkage long sys_openat(int dfd, const char __user *filename, int flags,
    int mode)
    diff --git a/fs/read_write.c b/fs/read_write.c
    index c4d3d17..af2c82f 100644
    --- a/fs/read_write.c
    +++ b/fs/read_write.c
    @@ -366,7 +366,6 @@ asmlinkage ssize_t sys_read(unsigned int fd, char __user * buf, size_t count)

    return ret;
    }
    -EXPORT_UNUSED_SYMBOL_GPL(sys_read); /* to be deleted for 2.6.25 */

    asmlinkage ssize_t sys_write(unsigned int fd, const char __user * buf, size_t count)
    {

    --
    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/

  2. Re: [2.6 patch] unexport sys_{open,read}

    On Tue, Jan 29, 2008 at 12:10:40AM +0200, Adrian Bunk wrote:
    > Now that they are unused we can finally unexport sys_{open,read}.
    >
    > Signed-off-by: Adrian Bunk


    Linus. any reason this is not in?

    >
    > fs/open.c | 1 -
    > fs/read_write.c | 1 -
    > 2 files changed, 2 deletions(-)
    >
    > eb86553917b5d7dc5c22e584145360ad0460372e
    > diff --git a/fs/open.c b/fs/open.c
    > index 4932b4d..21acf85 100644
    > --- a/fs/open.c
    > +++ b/fs/open.c
    > @@ -1061,7 +1061,6 @@ asmlinkage long sys_open(const char __user *filename, int flags, int mode)
    > prevent_tail_call(ret);
    > return ret;
    > }
    > -EXPORT_UNUSED_SYMBOL_GPL(sys_open); /* To be deleted for 2.6.25 */
    >
    > asmlinkage long sys_openat(int dfd, const char __user *filename, int flags,
    > int mode)
    > diff --git a/fs/read_write.c b/fs/read_write.c
    > index c4d3d17..af2c82f 100644
    > --- a/fs/read_write.c
    > +++ b/fs/read_write.c
    > @@ -366,7 +366,6 @@ asmlinkage ssize_t sys_read(unsigned int fd, char __user * buf, size_t count)
    >
    > return ret;
    > }
    > -EXPORT_UNUSED_SYMBOL_GPL(sys_read); /* to be deleted for 2.6.25 */
    >
    > asmlinkage ssize_t sys_write(unsigned int fd, const char __user * buf, size_t count)
    > {
    >
    > --
    > 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/

    ---end quoted text---
    --
    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/

+ Reply to Thread