~ubuntu-branches/ubuntu/gutsy/vnc4/gutsy

« back to all changes in this revision

Viewing changes to unix/xc/programs/Xserver/hw/xfree86/drivers/ati/atioption.h

  • Committer: Bazaar Package Importer
  • Author(s): Ola Lundqvist
  • Date: 2006-05-15 20:35:17 UTC
  • mfrom: (1.1.2 upstream)
  • Revision ID: james.westby@ubuntu.com-20060515203517-l4lre1ku942mn26k
Tags: 4.1.1+X4.3.0-10
* Correction of critical security issue. Thanks to Martin Kogler
  <e9925248@student.tuwien.ac.at> that informed me about the issue,
  and provided the patch.
  This flaw was originally found by Steve Wiseman of intelliadmin.com.
* Applied patch from Javier Kohen <jkohen@users.sourceforge.net> that
  inform the user that only 8 first characters of the password will
  actually be used when typing more than 8 characters, closes:
  #355619.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/* $XFree86: xc/programs/Xserver/hw/xfree86/drivers/ati/atioption.h,v 1.11 2003/01/01 19:16:33 tsi Exp $ */
 
2
/*
 
3
 * Copyright 1999 through 2003 by Marc Aurele La France (TSI @ UQV), tsi@xfree86.org
 
4
 *
 
5
 * Permission to use, copy, modify, distribute, and sell this software and its
 
6
 * documentation for any purpose is hereby granted without fee, provided that
 
7
 * the above copyright notice appear in all copies and that both that copyright
 
8
 * notice and this permission notice appear in supporting documentation, and
 
9
 * that the name of Marc Aurele La France not be used in advertising or
 
10
 * publicity pertaining to distribution of the software without specific,
 
11
 * written prior permission.  Marc Aurele La France makes no representations
 
12
 * about the suitability of this software for any purpose.  It is provided
 
13
 * "as-is" without express or implied warranty.
 
14
 *
 
15
 * MARC AURELE LA FRANCE DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE,
 
16
 * INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS.  IN NO
 
17
 * EVENT SHALL MARC AURELE LA FRANCE BE LIABLE FOR ANY SPECIAL, INDIRECT OR
 
18
 * CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE,
 
19
 * DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER
 
20
 * TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
 
21
 * PERFORMANCE OF THIS SOFTWARE.
 
22
 */
 
23
 
 
24
#ifndef ___ATIOPTION_H___
 
25
#define ___ATIOPTION_H___ 1
 
26
 
 
27
#include "atiproto.h"
 
28
 
 
29
#include "xf86str.h"
 
30
 
 
31
/*
 
32
 * Documented XF86Config options.
 
33
 */
 
34
typedef enum
 
35
{
 
36
    ATI_OPTION_ACCEL,
 
37
    ATI_OPTION_CRT_DISPLAY,
 
38
    ATI_OPTION_CSYNC,
 
39
    ATI_OPTION_HWCURSOR,
 
40
 
 
41
#ifndef AVOID_CPIO
 
42
 
 
43
    ATI_OPTION_LINEAR,
 
44
 
 
45
#endif /* AVOID_CPIO */
 
46
 
 
47
    ATI_OPTION_MMIO_CACHE,
 
48
    ATI_OPTION_PANEL_DISPLAY,
 
49
    ATI_OPTION_PROBE_CLOCKS,
 
50
    ATI_OPTION_REFERENCE_CLOCK,
 
51
    ATI_OPTION_SHADOW_FB,
 
52
    ATI_OPTION_SWCURSOR
 
53
} ATIPublicOptionType;
 
54
 
 
55
extern const OptionInfoRec   ATIPublicOptions[];
 
56
extern const unsigned long   ATIPublicOptionSize;
 
57
 
 
58
extern const OptionInfoRec * ATIAvailableOptions FunctionPrototype((int, int));
 
59
 
 
60
#endif /* ___ATIOPTION_H___ */