cregit-Linux how code gets into the kernel

Release 4.15 include/linux/devpts_fs.h

Directory: include/linux
/* -*- linux-c -*- --------------------------------------------------------- *
 *
 * linux/include/linux/devpts_fs.h
 *
 *  Copyright 1998-2004 H. Peter Anvin -- All Rights Reserved
 *
 * This file is part of the Linux kernel and is made available under
 * the terms of the GNU General Public License, version 2, or at your
 * option, any later version, incorporated herein by reference.
 *
 * ------------------------------------------------------------------------- */

#ifndef _LINUX_DEVPTS_FS_H

#define _LINUX_DEVPTS_FS_H

#include <linux/errno.h>

#ifdef CONFIG_UNIX98_PTYS

struct pts_fs_info;

struct vfsmount *devpts_mntget(struct file *, struct pts_fs_info *);
struct pts_fs_info *devpts_acquire(struct file *);
void devpts_release(struct pts_fs_info *);

int devpts_new_index(struct pts_fs_info *);
void devpts_kill_index(struct pts_fs_info *, int);

/* mknod in devpts */
struct dentry *devpts_pty_new(struct pts_fs_info *, int, void *);
/* get private structure */
void *devpts_get_priv(struct dentry *);
/* unlink */
void devpts_pty_kill(struct dentry *);

/* in pty.c */
int ptm_open_peer(struct file *master, struct tty_struct *tty, int flags);

#else

static inline int ptm_open_peer(struct file *master, struct tty_struct *tty, int flags) { return -EIO; }

Contributors

PersonTokensPropCommitsCommitProp
Eric W. Biedermann24100.00%1100.00%
Total24100.00%1100.00%

#endif #endif /* _LINUX_DEVPTS_FS_H */

Overall Contributors

PersonTokensPropCommitsCommitProp
Eric W. Biedermann6342.00%214.29%
Linus Torvalds (pre-git)1912.67%17.14%
Sukadev Bhattiprolu1812.00%214.29%
Linus Torvalds1711.33%214.29%
Andrew Morton138.67%214.29%
Herton Ronaldo Krzesinski117.33%17.14%
Jiri Slaby85.33%321.43%
Al Viro10.67%17.14%
Total150100.00%14100.00%
Directory: include/linux
Information contained on this website is for historical information purposes only and does not indicate or represent copyright ownership.
Created with cregit.