Re: TESTAUTH Detection

2005-10-26 Thread Shmuel Metz (Seymour J.)
In <[EMAIL PROTECTED]>, on 10/21/2005
   at 10:08 AM, Binyamin Dissen <[EMAIL PROTECTED]> said:

>There is also a TSO command, TESTAUTH.

Of course; I was thinking in terms of the macro because it's used so
often. I agree that Keith must have been referring to the command.

>Seems like the TMP work area has some bits.

Yes. Does anybody but TEST and TESTAUTH use the TESTRAN bits in the
TCB?
 
-- 
 Shmuel (Seymour J.) Metz, SysProg and JOAT
 ISO position; see  
We don't care. We don't have to care, we're Congress.
(S877: The Shut up and Eat Your spam act of 2003)

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html


TESTAUTH Detection

2005-10-21 Thread Keith E. Moe
>On Sat, 15 Oct 2005 20:32:46 -0700, Keith E. Moe <[EMAIL PROTECTED]> wrote:
>
>>Is there a simple was to detect if a program is being executed under TESTAUTH?
>>
>>

>Unfortunately, there is not a "simple" way to do it. You'll have to search
>in the TCB queue to verify if TESTAUTH was previously called.
>
>PS.: Just to clarify some confusions:
>
>"THE TESTAUTH COMMAND IS USED TO DEBUG AND VERIFY THE PROPER EXECUTION
>OF AN APF AUTHORIZED PROGRAM.  THE TESTAUTH COMMAND IS MOST READILY
>USED TO TEST PROGRAMS WRITTEN IN BASIC ASSEMBLER LANGUAGE."
>
>
That's funny.  I figuted out that I could tell if a program was running under 
TEST or TESTAUTH by checking the TCBTRNB field for being 
non-zero.  Are there cases when this (3-byte) address will be non-zero when NOT 
running under TEST/TESTAUTH?


Keith E. Moe
Laid Back Software, Inc.
http://www.laidbacksoftware.com
[EMAIL PROTECTED]
(408) 749-0655 (voice and FAX)
(408) 480-2067 (cell)

"We take our clients seriously, not ourselves."

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html


Re: TESTAUTH Detection

2005-10-21 Thread Philippe Leite
Keith,

Unfortunately, there is not a "simple" way to do it. You'll have to search
in the TCB queue to verify if TESTAUTH was previously called.

PS.: Just to clarify some confusions:

"THE TESTAUTH COMMAND IS USED TO DEBUG AND VERIFY THE PROPER EXECUTION
OF AN APF AUTHORIZED PROGRAM.  THE TESTAUTH COMMAND IS MOST READILY
USED TO TEST PROGRAMS WRITTEN IN BASIC ASSEMBLER LANGUAGE."


Regards,

Philippe Leite
z/OS Systems Programmer
BBVA Portugal





On Sat, 15 Oct 2005 20:32:46 -0700, Keith E. Moe <[EMAIL PROTECTED]> wrote:

>Is there a simple was to detect if a program is being executed under TESTAUTH?
>
>
>Keith E. Moe
>Laid Back Software, Inc.
>http://www.laidbacksoftware.com
>[EMAIL PROTECTED]
>(408) 749-0655 (voice and FAX)
>(408) 480-2067 (cell)

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html


Re: TESTAUTH Detection

2005-10-21 Thread Binyamin Dissen
On Thu, 20 Oct 2005 22:33:10 -0300 "Shmuel Metz (Seymour J.)"
<[EMAIL PROTECTED]> wrote:

:>In <[EMAIL PROTECTED]>, on 10/15/2005
:>   at 08:32 PM, "Keith E. Moe" <[EMAIL PROTECTED]> said:

:>>Is there a simple was to detect if a program is being executed under
:>>TESTAUTH?

:>What are you trying to ask? TESTAUTH is a macro, not an environment.
:>Do you mean test whether the program is authorized? That's what
:>TESTAUTH does.

There is also a TSO command, TESTAUTH.

Seems like the TMP work area has some bits.

--
Binyamin Dissen <[EMAIL PROTECTED]>
http://www.dissensoftware.com

Director, Dissen Software, Bar & Grill - Israel


Should you use the mailblocks package and expect a response from me,
you should preauthorize the dissensoftware.com domain.

I very rarely bother responding to challenge/response systems,
especially those from irresponsible companies.

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html


Re: TESTAUTH Detection

2005-10-20 Thread Shmuel Metz (Seymour J.)
In <[EMAIL PROTECTED]>, on 10/15/2005
   at 08:32 PM, "Keith E. Moe" <[EMAIL PROTECTED]> said:

>Is there a simple was to detect if a program is being executed under
>TESTAUTH?

What are you trying to ask? TESTAUTH is a macro, not an environment.
Do you mean test whether the program is authorized? That's what
TESTAUTH does.
 
-- 
 Shmuel (Seymour J.) Metz, SysProg and JOAT
 ISO position; see  
We don't care. We don't have to care, we're Congress.
(S877: The Shut up and Eat Your spam act of 2003)

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html


TESTAUTH Detection

2005-10-15 Thread Keith E. Moe
Is there a simple was to detect if a program is being executed under TESTAUTH?


Keith E. Moe
Laid Back Software, Inc.
http://www.laidbacksoftware.com
[EMAIL PROTECTED]
(408) 749-0655 (voice and FAX)
(408) 480-2067 (cell)

"We take our clients seriously, not ourselves."

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html