Skip to content

Commit

Permalink
alpha: implement setsysinfo(SSI_LMF) as a no-op
Browse files Browse the repository at this point in the history
This allows running software using the Tru64 license manager.
For simplicity, no check for a valid license is done.  This
should not be seen as encouraging software piracy.

Signed-off-by: Mans Rullgard <mans@mansr.com>
Signed-off-by: Matt Turner <mattst88@gmail.com>
  • Loading branch information
Mans Rullgard authored and Matt Turner committed May 24, 2012
1 parent f936991 commit 50744de
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
1 change: 1 addition & 0 deletions arch/alpha/include/asm/sysinfo.h
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
#define GSI_GET_HWRPB 101

#define SSI_NVPAIRS 1
#define SSI_LMF 7
#define SSI_IEEE_FP_CONTROL 14
#define SSI_IEEE_STATE_AT_SIGNAL 15
#define SSI_IEEE_IGNORE_STATE_AT_SIGNAL 16
Expand Down
3 changes: 3 additions & 0 deletions arch/alpha/kernel/osf_sys.c
Original file line number Diff line number Diff line change
Expand Up @@ -771,6 +771,9 @@ SYSCALL_DEFINE5(osf_setsysinfo, unsigned long, op, void __user *, buffer,
return 0;
}

case SSI_LMF:
return 0;

default:
break;
}
Expand Down

0 comments on commit 50744de

Please sign in to comment.