Implement VT_RELDISP ioctl
Submitted by: Kazutaka Yokota <yokota@FreeBSD.org>
This commit is contained in:
parent
0acccdc904
commit
b0b905e42b
@ -25,7 +25,7 @@
|
||||
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
|
||||
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
*
|
||||
* $Id: linux.h,v 1.27 1999/04/29 04:37:56 luoqi Exp $
|
||||
* $Id: linux.h,v 1.28 1999/07/06 06:54:00 cracauer Exp $
|
||||
*/
|
||||
|
||||
#ifndef _I386_LINUX_LINUX_H_
|
||||
@ -239,6 +239,7 @@ struct trapframe;
|
||||
#define LINUX_VT_GETMODE 0x5601
|
||||
#define LINUX_VT_SETMODE 0x5602
|
||||
#define LINUX_VT_GETSTATE 0x5603
|
||||
#define LINUX_VT_RELDISP 0x5605
|
||||
#define LINUX_VT_ACTIVATE 0x5606
|
||||
#define LINUX_VT_WAITACTIVE 0x5607
|
||||
|
||||
|
@ -25,7 +25,7 @@
|
||||
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
|
||||
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
*
|
||||
* $Id: linux_ioctl.c,v 1.33 1999/05/09 16:04:04 peter Exp $
|
||||
* $Id: linux_ioctl.c,v 1.34 1999/07/06 11:41:48 marcel Exp $
|
||||
*/
|
||||
|
||||
#include <sys/param.h>
|
||||
@ -1028,6 +1028,11 @@ linux_ioctl(struct proc *p, struct linux_ioctl_args *args)
|
||||
args->cmd = VT_GETACTIVE;
|
||||
return ioctl(p, (struct ioctl_args *)args);
|
||||
|
||||
case LINUX_VT_RELDISP:
|
||||
|
||||
args->cmd = VT_RELDISP;
|
||||
return ioctl(p, (struct ioctl_args *)args);
|
||||
|
||||
case LINUX_VT_ACTIVATE:
|
||||
|
||||
args->cmd = VT_ACTIVATE;
|
||||
|
@ -25,7 +25,7 @@
|
||||
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
|
||||
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
*
|
||||
* $Id: linux.h,v 1.27 1999/04/29 04:37:56 luoqi Exp $
|
||||
* $Id: linux.h,v 1.28 1999/07/06 06:54:00 cracauer Exp $
|
||||
*/
|
||||
|
||||
#ifndef _I386_LINUX_LINUX_H_
|
||||
@ -239,6 +239,7 @@ struct trapframe;
|
||||
#define LINUX_VT_GETMODE 0x5601
|
||||
#define LINUX_VT_SETMODE 0x5602
|
||||
#define LINUX_VT_GETSTATE 0x5603
|
||||
#define LINUX_VT_RELDISP 0x5605
|
||||
#define LINUX_VT_ACTIVATE 0x5606
|
||||
#define LINUX_VT_WAITACTIVE 0x5607
|
||||
|
||||
|
@ -25,7 +25,7 @@
|
||||
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
|
||||
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
*
|
||||
* $Id: linux_ioctl.c,v 1.33 1999/05/09 16:04:04 peter Exp $
|
||||
* $Id: linux_ioctl.c,v 1.34 1999/07/06 11:41:48 marcel Exp $
|
||||
*/
|
||||
|
||||
#include <sys/param.h>
|
||||
@ -1028,6 +1028,11 @@ linux_ioctl(struct proc *p, struct linux_ioctl_args *args)
|
||||
args->cmd = VT_GETACTIVE;
|
||||
return ioctl(p, (struct ioctl_args *)args);
|
||||
|
||||
case LINUX_VT_RELDISP:
|
||||
|
||||
args->cmd = VT_RELDISP;
|
||||
return ioctl(p, (struct ioctl_args *)args);
|
||||
|
||||
case LINUX_VT_ACTIVATE:
|
||||
|
||||
args->cmd = VT_ACTIVATE;
|
||||
|
Loading…
Reference in New Issue
Block a user