~ubuntu-bugcontrol/qa-regression-testing/master

« back to all changes in this revision

Viewing changes to scripts/kernel-security/aslr/aslr.c

  • Committer: Steve Beattie
  • Date: 2016-08-05 02:13:25 UTC
  • Revision ID: sbeattie@ubuntu.com-20160805021325-yfyfb3oa3u1i9euv
scripts/kernel-security/aslr/aslr.c: emit to stderr to avoid --verbose breakage

Show diffs side-by-side

added added

removed removed

Lines of Context:
141
141
             * from mmap. To show this, just calculate a delta between
142
142
             * the two locations, similar to how we check brk ASLR.
143
143
             */
144
 
            printf("[pie] AREA_MMAP: %p\tAREA_TEXT: %p\n", area_pointer(AREA_MMAP),
 
144
            fprintf(stderr, "[pie] AREA_MMAP: %p\tAREA_TEXT: %p\n", area_pointer(AREA_MMAP),
145
145
                            area_pointer(AREA_TEXT));
146
146
            return area_pointer(AREA_MMAP) - area_pointer(AREA_TEXT);
147
147
        }